Key
Description:
[ CCode ( cname = "int" , has_type_id = false ) ]
public enum Key
public enum Key
The exact keycaps available are system dependent.
Namespace: Curses
Package: curses
Content:
Enum values:
- A1 - Upper left of keypad
- A3 - Upper right of keypad
- B2 - Center of keypad
- BACKSPACE - Backspace (unreliable)
- BEG - Beg (beginning)
- BREAK - Break key (unreliable)
- BTAB - Back tab
- C1 - Lower left of keypad
- C3 - Lower right of keypad
- CANCEL - Cancel
- CATAB - Clear all tabs
- CLEAR - Clear screen
- CLOSE - Close
- CODE_YES
- COMMAND - Cmd (command)
- COPY - Copy
- CREATE - Create
- CTAB - Clear tab
- DC - Delete character
- DL - Delete line
- DOWN - Down-arrow
- EIC - Exit insert char mode
- END - End
- ENTER - Enter or send (unreliable)
- EOL - Clear to end of line
- EOS - Clear to end of screen
- EXIT - Exit
- F0 - Function keys. Up to 64 function keys are supported.
- FIND - Find
- HELP - Help
- HOME - Home key (upward+left arrow)
- IC - Insert char or enter insert mode
- IL - Insert line
- LEFT - Left-arrow
- LL - Home down or bottom (lower left)
- MARK - Mark
- MAX - Maximum key value
- MESSAGE - Message
- MIN - Minimum key value
- MOUSE - Mouse event has occurred
- MOVE - Move
- NEXT - Next
- NPAGE - Next page
- OPEN - Open
- OPTIONS - Options
- PPAGE - Previous page
- PREVIOUS - Prev (previous)
- PRINT - Print
- REDO - Redo
- REFERENCE - Ref (reference)
- REFRESH - Refresh
- REPLACE - Replace
- RESET - Reset or hard reset (unreliable)
- RESIZE - Terminal resize event
- RESTART - Restart
- RESUME - Resume
- RIGHT - Right-arrow
- SAVE - Save
- SBEG - Shifted Beg (beginning)
- SCANCEL - Shifted Cancel
- SCOMMAND - Shifted Command
- SCOPY - Shifted Copy
- SCREATE - Shifted Create
- SDC - Shifted Delete char
- SDL - Shifted Delete line
- SELECT - Select
- SEND - Shifted End
- SEOL - Shifted Clear line
- SEXIT - Shifted Dxit
- SF - Scroll 1 line forward
- SFIND - Shifted Find
- SHELP - Shifted Help
- SHOME - Shifted Home
- SIC - Shifted Input
- SLEFT - Shifted Left arrow
- SMESSAGE - Shifted Message
- SMOVE - Shifted Move
- SNEXT - Shifted Next
- SOPTIONS - Shifted Options
- SPREVIOUS - Shifted Prev
- SPRINT - Shifted Print
- SR - Scroll 1 line backward (reverse)
- SREDO - Shifted Redo
- SREPLACE - Shifted Replace
- SRESET - Soft (partial) reset (unreliable)
- SRIGHT - Shifted Right arrow
- SRSUME - Shifted Resume
- SSAVE - Shifted Save
- SSUSPEND - Shifted Suspend
- STAB - Set tab
- SUNDO - Shifted Undo
- SUSPEND - Suspend
- UNDO - Undo
- UP - Up-arrow