ui

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(input string, cfg config.Config) mainModel

Types

type KeyMap

type KeyMap struct {
	Up             key.Binding
	Down           key.Binding
	CtrlD          key.Binding
	CtrlU          key.Binding
	ToggleFileTree key.Binding
	Search         key.Binding
	Quit           key.Binding
	Copy           key.Binding
	TogglePanel    key.Binding
	OpenInEditor   key.Binding
}

type Panel added in v0.4.0

type Panel int
const (
	FileTreePanel Panel = iota
	DiffViewerPanel
)

Directories

Path Synopsis
panes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL