Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxRenderInterval = 1000 * time.Millisecond MinRenderInterval = 100 * time.Millisecond ColumnsCount = 80 RowsCount = 40 AppTitle = "sampler" AppVersion = "1.1.0" )
View Source
const ( ColorOlive ui.Color = 178 ColorDeepSkyBlue ui.Color = 39 ColorDeepPink ui.Color = 198 ColorCian ui.Color = 43 ColorOrange ui.Color = 166 ColorPurple ui.Color = 129 ColorGreen ui.Color = 64 ColorDarkRed ui.Color = 88 ColorBlueViolet ui.Color = 57 ColorDarkGrey ui.Color = 238 ColorLightGrey ui.Color = 254 ColorGrey ui.Color = 242 ColorWhite ui.Color = 15 ColorBlack ui.Color = 0 ColorClear ui.Color = -1 )
View Source
const ( SignalResize = "<Resize>" SignalClick = "<MouseLeft>" )
View Source
const ( KeyPause1 = "p" KeyPause2 = "P" KeyQuit1 = "q" KeyQuit2 = "Q" KeyQuit3 = "<C-c>" KeyLeft = "<Left>" KeyRight = "<Right>" KeyUp = "<Up>" KeyDown = "<Down>" KeyEnter = "<Enter>" KeyEsc = "<Escape>" )
View Source
const ( SymbolSelection rune = '▲' SymbolVerticalBar rune = '▎' SymbolHorizontalBar rune = '═' )
View Source
const (
BellCharacter = "\a"
)
Variables ¶
This section is empty.
Functions ¶
func GetMenuColor ¶
GetMenuColor returns a color based on the operating system target
func GetMenuColorReverse ¶
GetMenuColorReverse returns a color based on the operating system target
Types ¶
Click to show internal directories.
Click to hide internal directories.