In Files

  • curses/curses.c

Class/Module Index [+]

Quicksearch

Curses::Key

a container for the KEY_* values.

See also system manual for getch(3)

Constants

A1

Upper left of keypad

A3

Upper right of keypad

B2

Center of keypad

BACKSPACE

Backspace

BEG

Beginning key

BREAK

Break key

BTAB

Back tab key

C1

Lower left of keypad

C3

Lower right of keypad

CANCEL

Cancel key

CATAB

Clear all tabs

CLEAR

Clear Screen

CLOSE

Close key

COMMAND

Cmd (command) key

COPY

Copy key

CREATE

Create key

CTAB

Clear tab

DC

Delete character

DL

Delete line

DOWN

the down arrow key

EIC

Enter insert char mode

END

End key

ENTER

Enter or send

EOL

Clear to end of line

EOS

Clear to end of screen

EXIT

Exit key

FIND

Find key

HELP

Help key

HOME

Home key (upward+left arrow)

IC

Insert char or enter insert mode

IL

Insert line

LEFT

the left arrow key

LL

Home down or bottom (lower left)

MARK

Mark key

MAX

The maximum allowed curses key value.

MESSAGE

Message key

MIN

The minimum allowed curses key value.

MOUSE

Mouse event read

MOVE

Move key

NEXT

Next object key

NPAGE

Next page

OPEN

Open key

OPTIONS

Options key

PPAGE

Previous page

PREVIOUS

Previous object key

PRINT

Print or copy

REDO

Redo key

REFERENCE

Reference key

REFRESH

Refresh key

REPLACE

Replace key

RESET

Reset or hard reset

RESIZE

Screen Resized

RESTART

Restart key

RESUME

Resume key

RIGHT

the right arrow key

SAVE

Save key

SBEG

Shifted beginning key

SCANCEL

Shifted cancel key

SCOMMAND

Shifted command key

SCOPY

Shifted copy key

SCREATE

Shifted create key

SDC

Shifted delete char key

SDL

Shifted delete line key

SELECT

Select key

SEND

Shifted end key

SEOL

Shifted clear line key

SEXIT

Shifted exit key

SF

Scroll 1 line forward

SFIND

Shifted find key

SHELP

Shifted help key

SHOME

Shifted home key

SIC

Shifted input key

SLEFT

Shifted left arrow key

SMESSAGE

Shifted message key

SMOVE

Shifted move key

SNEXT

Shifted next key

SOPTIONS

Shifted options key

SPREVIOUS

Shifted previous key

SPRINT

Shifted print key

SR

Scroll 1 line backware (reverse)

SREDO

Shifted redo key

SREPLACE

Shifted replace key

SRESET

Soft (partial) reset

SRIGHT

Shifted right arrow key

SRSUME

Shifted resume key

SSAVE

Shifted save key

SSUSPEND

Shifted suspend key

STAB

Set tab

SUNDO

Shifted undo key

SUSPEND

Suspend key

UNDO

Undo key

UP

the up arrow key

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus