CPGen
C++ project generator
Loading...
Searching...
No Matches
Namespaces | Typedefs | Enumerations
Defs.hpp File Reference

Shared type definitions for the TUI input system. More...

#include <cstdint>
#include <variant>
Include dependency graph for Defs.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Shared type definitions for the TUI input system.

Author
Darleanow