Documentation
¶
Index ¶
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 displays key-binding help on the left and version info on the right. When the tab bar is hidden (single tab), it also shows a clickable "+ new tab" button.
func (*StatusBar) ClickedNewTab ¶ added in v1.23.4
ClickedNewTab returns true if the given X coordinate hits the "+" button.
func (*StatusBar) Height ¶ added in v1.23.4
Height returns the rendered height of the status bar (always 1).
func (*StatusBar) InvalidateCache ¶ added in v1.20.0
func (s *StatusBar) InvalidateCache()
InvalidateCache clears all cached values.
func (*StatusBar) SetHelp ¶ added in v1.8.2
func (s *StatusBar) SetHelp(help core.KeyMapHelp)
SetHelp sets the help provider for the status bar
func (*StatusBar) SetShowNewTab ¶ added in v1.23.4
SetShowNewTab controls whether the "+" button is shown.
Click to show internal directories.
Click to hide internal directories.