Module: Curses::Key

Defined in:
ext/curses/curses.c,
ext/curses/curses.c

Overview

a container for the KEY_* values.

See also system manual for getch(3)

Constant Summary collapse

MOUSE =
INT2NUM(KEY_MOUSE)
MIN =
INT2NUM(KEY_MIN)
BREAK =
INT2NUM(KEY_BREAK)
DOWN =
INT2NUM(KEY_DOWN)
UP =
INT2NUM(KEY_UP)
LEFT =
INT2NUM(KEY_LEFT)
RIGHT =
INT2NUM(KEY_RIGHT)
HOME =
INT2NUM(KEY_HOME)
BACKSPACE =
INT2NUM(KEY_BACKSPACE)
DL =
INT2NUM(KEY_DL)
IL =
INT2NUM(KEY_IL)
DC =
INT2NUM(KEY_DC)
IC =
INT2NUM(KEY_IC)
EIC =
INT2NUM(KEY_EIC)
CLEAR =
INT2NUM(KEY_CLEAR)
EOS =
INT2NUM(KEY_EOS)
EOL =
INT2NUM(KEY_EOL)
SF =
INT2NUM(KEY_SF)
SR =
INT2NUM(KEY_SR)
NPAGE =
INT2NUM(KEY_NPAGE)
PPAGE =
INT2NUM(KEY_PPAGE)
STAB =
INT2NUM(KEY_STAB)
CTAB =
INT2NUM(KEY_CTAB)
CATAB =
INT2NUM(KEY_CATAB)
ENTER =
INT2NUM(KEY_ENTER)
SRESET =
INT2NUM(KEY_SRESET)
RESET =
INT2NUM(KEY_RESET)
INT2NUM(KEY_PRINT)
LL =
INT2NUM(KEY_LL)
A1 =
INT2NUM(KEY_A1)
A3 =
INT2NUM(KEY_A3)
B2 =
INT2NUM(KEY_B2)
C1 =
INT2NUM(KEY_C1)
C3 =
INT2NUM(KEY_C3)
BTAB =
INT2NUM(KEY_BTAB)
BEG =
INT2NUM(KEY_BEG)
CANCEL =
INT2NUM(KEY_CANCEL)
CLOSE =
INT2NUM(KEY_CLOSE)
COMMAND =
INT2NUM(KEY_COMMAND)
COPY =
INT2NUM(KEY_COPY)
CREATE =
INT2NUM(KEY_CREATE)
END =
INT2NUM(KEY_END)
EXIT =
INT2NUM(KEY_EXIT)
FIND =
INT2NUM(KEY_FIND)
HELP =
INT2NUM(KEY_HELP)
MARK =
INT2NUM(KEY_MARK)
MESSAGE =
INT2NUM(KEY_MESSAGE)
MOVE =
INT2NUM(KEY_MOVE)
NEXT =
INT2NUM(KEY_NEXT)
OPEN =
INT2NUM(KEY_OPEN)
OPTIONS =
INT2NUM(KEY_OPTIONS)
PREVIOUS =
INT2NUM(KEY_PREVIOUS)
REDO =
INT2NUM(KEY_REDO)
REFERENCE =
INT2NUM(KEY_REFERENCE)
REFRESH =
INT2NUM(KEY_REFRESH)
REPLACE =
INT2NUM(KEY_REPLACE)
RESTART =
INT2NUM(KEY_RESTART)
RESUME =
INT2NUM(KEY_RESUME)
SAVE =
INT2NUM(KEY_SAVE)
SBEG =
INT2NUM(KEY_SBEG)
SCANCEL =
INT2NUM(KEY_SCANCEL)
SCOMMAND =
INT2NUM(KEY_SCOMMAND)
SCOPY =
INT2NUM(KEY_SCOPY)
SCREATE =
INT2NUM(KEY_SCREATE)
SDC =
INT2NUM(KEY_SDC)
SDL =
INT2NUM(KEY_SDL)
SELECT =
INT2NUM(KEY_SELECT)
SEND =
INT2NUM(KEY_SEND)
SEOL =
INT2NUM(KEY_SEOL)
SEXIT =
INT2NUM(KEY_SEXIT)
SFIND =
INT2NUM(KEY_SFIND)
SHELP =
INT2NUM(KEY_SHELP)
SHOME =
INT2NUM(KEY_SHOME)
SIC =
INT2NUM(KEY_SIC)
SLEFT =
INT2NUM(KEY_SLEFT)
SMESSAGE =
INT2NUM(KEY_SMESSAGE)
SMOVE =
INT2NUM(KEY_SMOVE)
SNEXT =
INT2NUM(KEY_SNEXT)
SOPTIONS =
INT2NUM(KEY_SOPTIONS)
SPREVIOUS =
INT2NUM(KEY_SPREVIOUS)
SPRINT =
INT2NUM(KEY_SPRINT)
SREDO =
INT2NUM(KEY_SREDO)
SREPLACE =
INT2NUM(KEY_SREPLACE)
SRIGHT =
INT2NUM(KEY_SRIGHT)
SRSUME =
INT2NUM(KEY_SRSUME)
SSAVE =
INT2NUM(KEY_SSAVE)
SSUSPEND =
INT2NUM(KEY_SSUSPEND)
SUNDO =
INT2NUM(KEY_SUNDO)
SUSPEND =
INT2NUM(KEY_SUSPEND)
UNDO =
INT2NUM(KEY_UNDO)
RESIZE =
INT2NUM(KEY_RESIZE)
MAX =
INT2NUM(KEY_MAX)