Documentation ¶
Index ¶
- func Find(slice []string, val string) bool
- func GetPaneList(enabled_panes []string) []string
- func HandleDelete(m *Model)
- func HandleEscape(m *Model)
- func HandleNew(m *Model)
- func HandleNextPane(m *Model)
- func HandlePreviousPane(m *Model)
- func HandleScrollDown(m *Model)
- func HandleScrollInPrompt(direction string, m *Model)
- func HandleScrollUp(m *Model)
- func HandleSelection(m *Model)
- func HandleUpdate(m *Model)
- func KeybindingMap(configuration config.Config) keyMap
- func PromptStyle() lipgloss.Style
- type KeyBinding
- type KeyBindingAction
- type Model
- func (m *Model) GetState() *state.State
- func (m Model) Init() tea.Cmd
- func (m Model) MainDisplayPane() string
- func (m Model) PromptContent() string
- func (m Model) PromptPane() string
- func (m *Model) SetCurrentUser(user api.User)
- func (m *Model) SetPromptSize()
- func (m Model) ShouldRunAction(pane string) bool
- func (m Model) ShowPane(pane string) bool
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
- type ViewSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPaneList ¶
func HandleDelete ¶
func HandleDelete(m *Model)
func HandleEscape ¶
func HandleEscape(m *Model)
func HandleNextPane ¶
func HandleNextPane(m *Model)
func HandlePreviousPane ¶
func HandlePreviousPane(m *Model)
func HandleScrollDown ¶
func HandleScrollDown(m *Model)
func HandleScrollInPrompt ¶
func HandleScrollUp ¶
func HandleScrollUp(m *Model)
func HandleSelection ¶
func HandleSelection(m *Model)
func HandleUpdate ¶
func HandleUpdate(m *Model)
func KeybindingMap ¶
func PromptStyle ¶
Types ¶
type KeyBinding ¶
type KeyBinding struct { Pane string Binding key.Binding Action KeyBindingAction }
type KeyBindingAction ¶
type Model ¶
type Model struct { ViewSize ViewSize // contains filtered or unexported fields }
Model represents the state of the UI.
func (Model) MainDisplayPane ¶
func (Model) PromptContent ¶
func (Model) PromptPane ¶
func (*Model) SetCurrentUser ¶
func (*Model) SetPromptSize ¶
func (m *Model) SetPromptSize()
func (Model) ShouldRunAction ¶
Click to show internal directories.
Click to hide internal directories.