Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = KeyMap{ SelectPrevMessage: key.NewBinding(key.WithKeys("up")), SelectNextMessage: key.NewBinding(key.WithKeys("down")), UnfocusMessage: key.NewBinding(key.WithKeys("esc", "ctrl+g")), FocusMessage: key.NewBinding(key.WithKeys("enter")), SubmitMessage: key.NewBinding(key.WithKeys("tab")), ScrollUp: key.NewBinding(key.WithKeys("shift+pgup")), ScrollDown: key.NewBinding(key.WithKeys("shift+pgdown")), Quit: key.NewBinding(key.WithKeys("ctrl+c")), }
Functions ¶
func OpenTTY ¶
func OpenTTY() (io.ReadWriteCloser, error)
Types ¶
type BorderColors ¶
type KeyMap ¶
type KeyMap struct { SelectPrevMessage key.Binding SelectNextMessage key.Binding UnfocusMessage key.Binding FocusMessage key.Binding SubmitMessage key.Binding ScrollUp key.Binding ScrollDown key.Binding CancelCompletion key.Binding LoadFromFile key.Binding SaveToFile key.Binding SaveSourceBlocksToFile key.Binding CopyToClipboard key.Binding CopyLastResponseToClipboard key.Binding CopySourceBlocksToClipboard key.Binding Help key.Binding Quit key.Binding }
Click to show internal directories.
Click to hide internal directories.