Documentation ¶
Index ¶
Constants ¶
View Source
const ( Black = "0" Red = "1" Green = "2" Orange = "3" Blue = "4" Purple = "5" Cyan = "6" Gray = "7" // Should be lighter than 8 BrightBlack = "8" // Darker than 7 BrightRed = "9" BrightGreen = "10" BrightOrange = "11" BrightBlue = "12" BrightPurple = "13" BrightCyan = "14" BrightGray = "15" )
View Source
const ( FILTER fieldStatus = 0 SEARCH fieldStatus = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppendContentMsg ¶
type AppendContentMsg struct {
Content string
}
Append lines to the current content
type KeyMap ¶
type KeyMap struct { Blur key.Binding Search key.Binding Filter key.Binding Accept key.Binding NextMatch key.Binding PreviousMatch key.Binding Quit key.Binding HalfPageUp key.Binding HalfPageDown key.Binding Restart key.Binding ShowHelp key.Binding }
func DefaultKeyBinding ¶
func DefaultKeyBinding() KeyMap
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
func (*Program) OnRequestRestart ¶
func (p *Program) OnRequestRestart()
Click to show internal directories.
Click to hide internal directories.