Documentation ¶
Index ¶
Constants ¶
View Source
const ( Backspace = "\x7F" CtrlA = "\x01" CtrlB = "\x02" CtrlC = "\x03" CtrlD = "\x04" CtrlE = "\x05" CtrlF = "\x06" CtrlG = "\x07" CtrlH = "\x08" CtrlI = "\x09" CtrlJ = "\x0A" CtrlK = "\x0B" CtrlL = "\x0C" CtrlM = "\x0D" CtrlN = "\x0E" CtrlO = "\x0F" CtrlP = "\x10" CtrlQ = "\x11" CtrlR = "\x12" CtrlS = "\x13" CtrlT = "\x14" CtrlU = "\x15" CtrlV = "\x16" CtrlW = "\x17" CtrlX = "\x18" CtrlY = "\x19" CtrlZ = "\x1A" CtrlLBracket = "\x1B" // C-[ CtrlBackslash = "\x1C" // C-\ CtrlRBracket = "\x1D" // C-] CtrlCaret = "\x1E" // C-^ CtrlUnderbar = "\x1F" Enter = "\r" Escape = "\x1B" AltA = "\x1Ba" AltB = "\x1Bb" ALTBackspace = "\x1B\b" AltC = "\x1Bc" AltD = "\x1Bd" AltE = "\x1Be" AltF = "\x1Bf" AltG = "\x1Bg" AltH = "\x1Bh" AltI = "\x1Bi" AltJ = "\x1Bj" AltK = "\x1Bk" AltL = "\x1Bl" AltM = "\x1Bm" AltN = "\x1Bn" AltO = "\x1Bo" AltP = "\x1Bp" AltQ = "\x1Bq" AltR = "\x1Br" AltS = "\x1Bs" AltT = "\x1Bt" AltU = "\x1Bu" AltV = "\x1Bv" AltW = "\x1Bw" AltX = "\x1Bx" AltY = "\x1By" AltZ = "\x1Bz" AltOEM2 = "\x1B/" Clear = "\x0C" Ctrl = "\x11" CtrlBreak = "\x03" Delete = "\x1B[3~" Down = "\x1B[B" CtrlDown = "\x1B[1;5B" End = "\x1B[F" F10 = "\x1B[21~" F11 = "\x1B[23~" F12 = "\x1B[24~" F13 = "\x7C" F14 = "\x7D" F15 = "\x7E" F16 = "\x7F" F17 = "\x80" F18 = "\x81" F19 = "\x82" F1 = "\x1B[OP" F20 = "\x83" F21 = "\x84" F22 = "\x85" F23 = "\x86" F24 = "\x87" F2 = "\x1B[OQ" F3 = "\x1B[OR" F4 = "\x1B[OS" F5 = "\x1B[15~" F6 = "\x1B[16~" F7 = "\x1B[17~" F8 = "\x1B[18~" F9 = "\x1B[20~" Home = "\x1B[H" Left = "\x1B[D" CtrlLeft = "\x1B[1;5D" PageDown = "\x1B[6~" PageUp = "\x1B[5~" Pause = "\x13" Right = "\x1B[C" CtrlRight = "\x1B[1;5C" Up = "\x1B[A" CtrlUp = "\x1B[1;5A" ShiftTab = "\x1B[Z" )
Variables ¶
View Source
var NameToCode = map[string]Code{}/* 103 elements not displayed */
Functions ¶
func NormalizeName ¶ added in v0.11.2
Types ¶
Click to show internal directories.
Click to hide internal directories.