Module: RETerm::CommonKeys
- Included in:
- ComponentInput
- Defined in:
- lib/reterm/mixins/common_keys.rb
Constant Summary collapse
- QUIT_CONTROLS =
Key which if pressed cause the component to lose focus / become deactivated
[10, 27, Ncurses::KEY_ENTER]
- ENTER_CONTROLS =
033 = CDK::KEY_ESC 343 = NCURSES::KEY_ENTER
[10, Ncurses::KEY_ENTER]
- INC_CONTROLS =
Keys if pressed invoked the increment operation
['+'.ord, Ncurses::KEY_UP, Ncurses::KEY_RIGHT]
- DEC_CONTROLS =
Keys if pressed invoked the decrement operation
['-'.ord, Ncurses::KEY_DOWN, Ncurses::KEY_LEFT]