Documentation
¶
Overview ¶
internal/statusbar/statusbar.go
Index ¶
- type Config
- type StatusBar
- func (sb *StatusBar) Draw(screen tcell.Screen, width, height int, activeTheme *theme.Theme)
- func (sb *StatusBar) ResetTemporaryMessage()
- func (sb *StatusBar) SetCursorInfo(pos types.Position)
- func (sb *StatusBar) SetEditorMode(mode string)
- func (sb *StatusBar) SetFileInfo(path string, modified bool)
- func (sb *StatusBar) SetTemporaryMessage(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusBar ¶
type StatusBar struct {
// contains filtered or unexported fields
}
StatusBar represents the UI component for the status line.
func (*StatusBar) ResetTemporaryMessage ¶
func (sb *StatusBar) ResetTemporaryMessage()
ResetTemporaryMessage clears any temporary message being displayed
func (*StatusBar) SetCursorInfo ¶
SetCursorInfo updates the cursor position shown.
func (*StatusBar) SetEditorMode ¶
SetEditorMode updates the displayed editor mode.
func (*StatusBar) SetFileInfo ¶
SetFileInfo updates the file path shown in the status bar.
func (*StatusBar) SetTemporaryMessage ¶
SetTemporaryMessage displays a message for a configured duration.
Click to show internal directories.
Click to hide internal directories.