Documentation ¶
Index ¶
- type Color
- type Model
- func (m *Model) BlurCommandBar()
- func (m Model) CommandBarFocused() bool
- func (m Model) CommandBarValue() string
- func (m *Model) FocusCommandBar()
- func (m Model) GetContent() (string, string)
- func (m *Model) ResetCommandBar()
- func (m *Model) SetContent(firstColumnContent, secondColumnContent string)
- func (m *Model) SetSelectedPane(pane string)
- func (m *Model) SetSize(width, height int)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m *Model) UpdateByPane(filter string)
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Width int Height int LabelColumnContent string LabelColumnColors Color CommandColumnContent string CommandColumnColors Color ShowCommandBar bool TextInput textinput.Model }
Model is a struct that contains all the properties of the statusbar.
func (*Model) BlurCommandBar ¶
func (m *Model) BlurCommandBar()
BlurCommandBar blurs the textinput used for the command bar.
func (Model) CommandBarFocused ¶
func (Model) CommandBarValue ¶
func (*Model) FocusCommandBar ¶
func (m *Model) FocusCommandBar()
func (Model) GetContent ¶
func (*Model) ResetCommandBar ¶
func (m *Model) ResetCommandBar()
ResetCommandBar resets the textinput used for the command bar.
func (*Model) SetContent ¶
SetContent sets the content of the statusbar.
func (*Model) SetSelectedPane ¶
func (*Model) SetSize ¶
SetSize sets the size of the statusbar, useful when the terminal is resized.
func (*Model) UpdateByPane ¶
Click to show internal directories.
Click to hide internal directories.