Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyNoSpl = iota KeyArrowLeft = iota + 999 //ARROW_LEFT //KeyArrowLeft KeyArrowRight //ARROW_RIGHT //KeyArrowRight KeyArrowUp //ARROW_UP //KeyArrowUp KeyArrowDown //ARROW_DOWN //KeyArrowDown KeyDelete //DEL_KEY //KeyDelete KeyHome //HOME_KEY //KeyHome KeyEnd //END_KEY //KeyEnd KeyPageUp //PAGE_UP //KeyPageUp KeyPageDown //PAGE_DOWN //KeyPageDown KeyF1 KeyF2 KeyF3 KeyF4 KeyF5 KeyF6 KeyF7 KeyF8 KeyF9 KeyF10 KeyF11 KeyF12 KeyIns )
Special keys
Variables ¶
View Source
var ErrNoInput = fmt.Errorf("no input")
ErrNoInput indicates that there is no input when reading from keyboard in raw mode. This happens when timeout is set to a low number
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.