input.hpp file
Namespaces
- namespace nxt
- namespace nxt::input
Classes
- struct nxt::input::Modifiers
- Modifier set decoded from terminal keyboard protocols.
- struct nxt::input::KeyEvent
- One decoded keyboard input event.
- class nxt::input::Parser
- Incremental parser for terminal keyboard input bytes.
- class nxt::input::InputModeGuard
- RAII guard that puts stdin into the raw input mode used by the TUI.
Enums
- enum class EventType { press, repeat, release }
- Key event phase. Terminals that do not report releases use
press. - enum class Key { unknown, character, enter, tab, backspace, escape, insert, delete_, left, right, up, down, home, end, page_up, page_down, begin, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12 }
- Normalized key identity after terminal escape-sequence decoding.