|
CPGen
C++ project generator
|
Shared type definitions for the TUI input system. More...
#include <cstdint>#include <variant>

Go to the source code of this file.
Namespaces | |
| namespace | Defs |
| Core type definitions shared across all TUI components. | |
Typedefs | |
| using | Defs::Key = std::variant< char, Special > |
| A single keypress from stdin, represented as either a printable character or a Special control key. | |
Enumerations | |
| enum class | Defs::Special : std::uint8_t { Defs::Enter , Defs::Up , Defs::Down , Defs::Left , Defs::Right , Defs::Escape , Defs::Backspace , Defs::Tab } |
| Non-printable / control keys recognised by the input reader. More... | |
Shared type definitions for the TUI input system.