enum Cride::Terminal::Key

Defined in:

terminal/input.cr

Enum Members

Tilde = 0_u8
CTRL_2 = 0_u8
CTRL_A = 1_u8
CTRL_B = 2_u8
CTRL_C = 3_u8
CTRL_D = 4_u8
CTRL_E = 5_u8
CTRL_F = 6_u8
CTRL_G = 7_u8
Backspace0 = 8_u8
CTRL_H = 8_u8
Tab = 9_u8
CTRL_I = 9_u8
LineField = 10_u8
CTRL_J = 10_u8
CTRL_K = 11_u8
CTRL_L = 12_u8
Enter = 13_u8
CarriageReturn = 13_u8
CTRL_M = 13_u8
CTRL_N = 14_u8
CTRL_O = 15_u8
CTRL_P = 16_u8
CTRL_Q = 17_u8
CTRL_R = 18_u8
CTRL_S = 19_u8
CTRL_T = 20_u8
CTRL_U = 21_u8
CTRL_V = 22_u8
CTRL_W = 23_u8
CTRL_X = 24_u8
CTRL_Y = 25_u8
CTRL_Z = 26_u8
Esc = 27_u8
CTRL_LSQ_BRACKET = 27_u8
CTRL_3 = 27_u8
CTRL_4 = 28_u8
CTRL_Backslash = 28_u8
CTRL_5 = 29_u8
CTRL_RSQ_BRACKET = 29_u8
CTRL_6 = 30_u8
CTRL_7 = 31_u8
CTRL_Slash = 31_u8
CTRL_Underscore = 31_u8
Space = 32_u8
Exclamation = 33_u8
QuotationMarks = 34_u8
Hash = 35_u8
Dollar = 36_u8
Percent = 37_u8
Insert = 38_u8
Delete = 39_u8
Home = 40_u8
PageUp = 41_u8
PageDown = 42_u8
CTRL_1 = 49_u8
CTRL_9 = 57_u8
F9 = 86_u8
F10 = 87_u8
CTRL_ArrowUp = 88_u8
CTRL_ArrowDown = 89_u8
CTRL_ArrowRight = 90_u8
CTRL_ArrowLeft = 91_u8
F6 = 92_u8
F7 = 93_u8
F8 = 94_u8
Backspace = 127_u8
CTRL_8 = 127_u8
ArrowUp = 183_u8
ArrowDown = 184_u8
ArrowRight = 185_u8
ArrowLeft = 186_u8

Instance Method Summary

Instance Method Detail

def arrow_down? #

[View source]
def arrow_left? #

[View source]
def arrow_right? #

[View source]
def arrow_up? #

[View source]
def backspace0? #

[View source]
def backspace? #

[View source]
def carriage_return? #

[View source]
def ctrl_1? #

[View source]
def ctrl_2? #

[View source]
def ctrl_3? #

[View source]
def ctrl_4? #

[View source]
def ctrl_5? #

[View source]
def ctrl_6? #

[View source]
def ctrl_7? #

[View source]
def ctrl_8? #

[View source]
def ctrl_9? #

[View source]
def ctrl_a? #

[View source]
def ctrl_arrow_down? #

[View source]
def ctrl_arrow_left? #

[View source]
def ctrl_arrow_right? #

[View source]
def ctrl_arrow_up? #

[View source]
def ctrl_b? #

[View source]
def ctrl_backslash? #

[View source]
def ctrl_c? #

[View source]
def ctrl_d? #

[View source]
def ctrl_e? #

[View source]
def ctrl_f? #

[View source]
def ctrl_g? #

[View source]
def ctrl_h? #

[View source]
def ctrl_i? #

[View source]
def ctrl_j? #

[View source]
def ctrl_k? #

[View source]
def ctrl_l? #

[View source]
def ctrl_lsq_bracket? #

[View source]
def ctrl_m? #

[View source]
def ctrl_n? #

[View source]
def ctrl_o? #

[View source]
def ctrl_p? #

[View source]
def ctrl_q? #

[View source]
def ctrl_r? #

[View source]
def ctrl_rsq_bracket? #

[View source]
def ctrl_s? #

[View source]
def ctrl_slash? #

[View source]
def ctrl_t? #

[View source]
def ctrl_u? #

[View source]
def ctrl_underscore? #

[View source]
def ctrl_v? #

[View source]
def ctrl_w? #

[View source]
def ctrl_x? #

[View source]
def ctrl_y? #

[View source]
def ctrl_z? #

[View source]
def delete? #

[View source]
def dollar? #

[View source]
def enter? #

[View source]
def esc? #

[View source]
def exclamation? #

[View source]
def f10? #

[View source]
def f6? #

[View source]
def f7? #

[View source]
def f8? #

[View source]
def f9? #

[View source]
def hash? #

[View source]
def home? #

[View source]
def insert? #

[View source]
def line_field? #

[View source]
def page_down? #

[View source]
def page_up? #

[View source]
def percent? #

[View source]
def quotation_marks? #

[View source]
def space? #

[View source]
def tab? #

[View source]
def tilde? #

[View source]