alias NCurses::Key

Alias Definition

LibNCurses::Key

Defined in:

ncurses.cr

Constant Summary

Backspace = 263

KEY_BACKSPACE

Delete = 330

KEY_DL

Down = 258

KEY_DOWN

End = 360

KEY_END

Enter = 343

KEY_ENTER

Esc = 27

Required 2 inputs, do not use normally

F0 = 264
F1 = 265
F10 = 274
F11 = 275
F12 = 276
F13 = 277
F14 = 278
F15 = 279
F16 = 280
F17 = 281
F18 = 282
F19 = 283
F2 = 266
F20 = 284
F21 = 285
F22 = 286
F23 = 287
F24 = 288
F25 = 289
F26 = 290
F27 = 291
F28 = 292
F29 = 293
F3 = 267
F30 = 294
F31 = 295
F32 = 296
F33 = 297
F34 = 298
F35 = 299
F36 = 300
F37 = 301
F38 = 302
F39 = 303
F4 = 268
F40 = 304
F41 = 305
F42 = 306
F43 = 307
F44 = 308
F45 = 309
F46 = 310
F47 = 311
F48 = 312
F49 = 313
F5 = 269
F50 = 314
F51 = 315
F52 = 316
F53 = 317
F54 = 318
F55 = 319
F56 = 320
F57 = 321
F58 = 322
F59 = 323
F6 = 270
F60 = 324
F61 = 325
F62 = 326
F63 = 327
F7 = 271
F8 = 272
F9 = 273
Home = 262

KEY_HOME

Insert = 331

KEY_IC

Left = 260

KEY_LEFT

Mouse = 409

KEY_MOUSE

If any mouse request mouse input was detected

Retrieve actual date with NCurses#get_mouse

PageDown = 338

KEY_NPAGE

PageUp = 339

KEY_PPAGE

Resize = 410

KEY_RESIZE

If the terminal has been resized

Right = 261

KEY_RIGHT

ShiftDelete = 383

KEY_SDC

Shift + Delete

ShiftDown = 336

KEY_SF

Shift + Down

ShiftEnd = 386

KEY_SEND

Shift + End

ShiftHome = 391

KEY_SHOME

Shift + Home

ShiftLeft = 393

KEY_SLEFT

Shift + Left

ShiftPageDown = 396

KEY_SNEXT

Shift + PageDown

ShiftPageUp = 398

KEY_SPREVIOUS

Shift + PageUp

ShiftRight = 402

KEY_SRIGHT

Shift + Right

ShiftTab = 353

KEY_BTAB

Shift + Tab

ShiftUp = 337

KEY_SR

Shift + Up

Up = 259

KEY_UP