Documentation
¶
Overview ¶
Package types defines shared values used across the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key string
Key identifies a keyboard key or command.
const ( // Navigation keys. KEY_ENTER Key = "enter" KEY_ESC Key = "esc" KEY_BACKSPACE Key = "backspace" KEY_TAB Key = "tab" KEY_SHIFT_TAB Key = "shift+tab" // Arrow keys. KEY_UP Key = "up" KEY_DOWN Key = "down" KEY_LEFT Key = "left" KEY_RIGHT Key = "right" KEY_PG_UP Key = "pgup" KEY_PG_DOWN Key = "pgdown" KEY_ALT_UP Key = "alt+up" KEY_ALT_DOWN Key = "alt+down" // Shortcuts. SHORT_CTRL_C Key = "ctrl+c" SHORT_CTRL_Q Key = "ctrl+q" SHORT_CTRL_N Key = "ctrl+n" SHORT_CTRL_E Key = "ctrl+e" SHORT_CTRL_D Key = "ctrl+d" SHORT_CTRL_O Key = "ctrl+o" SHORT_CTRL_X Key = "ctrl+x" SHORT_CTRL_V Key = "ctrl+v" SHORT_CTRL_Y Key = "ctrl+y" SHORT_CTRL_Z Key = "ctrl+z" SHORT_SHIFT_TAB Key = "shift+tab" // Command keys. CMD_SHIFT_ENTER Key = "shift+enter" CMD_ALT_ENTER Key = "alt+enter" CMD_CTRL_ENTER Key = "ctrl+enter" CMD_CTRL_S Key = "ctrl+s" // Other keys. KEY_EMPTY Key = "" )
Click to show internal directories.
Click to hide internal directories.