Documentation ¶
Overview ¶
Terminal key input receiver for go application. keybind.Bind() returns channel which returns each key input.
Index ¶
Constants ¶
View Source
const ( // ASCII Control Characters NUL = iota SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US DEL = 127 )
View Source
const ( // Major Key input for ASCII control characters CtrlSpace = iota // or Ctrl+@ CtrlA CtrlB CtrlC CtrlD CtrlE CtrlF CtrlG BackSpace // or Ctrl+H Tab // or Ctrl+I CtrlJ CtrlK CtrlL Return // or Ctrl+M CtrlN CtrlO CtrlP CtrlQ CtrlR CtrlS CtrlT CtrlU CtrlV CtrlW CtrlX CtrlY CtrlZ Escape // or Ctrl+[ CtrlBackSlash // Ctrl+\ CtrlRightBracket // Ctrl+] CtrlHat // Ctrl+^ CtrlUnderscore // Ctrl+_ Delete = 127 )
Variables ¶
This section is empty.
Functions ¶
func IsPrintable ¶
If given character is ASCII control characters, this function returns false.
Types ¶
Click to show internal directories.
Click to hide internal directories.