Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KittyFilter ¶
KittyFilter intercepts Kitty keyboard protocol CSI u sequences that BubbleTea doesn't recognise (they arrive as unexported unknownCSISequenceMsg) and converts them to standard BubbleTea key messages or custom messages.
Terminals that do not support the Kitty protocol never emit these sequences, so the filter is a no-op in that case.
Types ¶
type FocusTarget ¶
type FocusTarget int
FocusTarget tracks which panel has focus.
const ( FocusLeft FocusTarget = iota FocusRight )
type KeyMap ¶
type KeyMap struct {
Quit key.Binding
TogglePanel key.Binding
SwapPanels key.Binding
SameDir key.Binding
Copy key.Binding
Move key.Binding
Mkdir key.Binding
Delete key.Binding
Rename key.Binding
View key.Binding
Edit key.Binding
GoTo key.Binding
FuzzyFind key.Binding
Bookmarks key.Binding
Help key.Binding
ThemePicker key.Binding
CmdExec key.Binding
Terminal key.Binding
ToggleHidden key.Binding
}
KeyMap defines all global keybindings.
func KeyMapFromConfig ¶
func KeyMapFromConfig(keys config.KeyBindings) KeyMap
KeyMapFromConfig builds the global keymap from config.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the root application model.
type ShiftPressMsg ¶
type ShiftPressMsg struct{}
ShiftPressMsg signals that Shift is currently held down (from OS-level polling).
type ShiftReleaseMsg ¶
type ShiftReleaseMsg struct{}
ShiftReleaseMsg signals that Shift has been released.
Click to show internal directories.
Click to hide internal directories.