Terminal++ 3.1.0.4
A C++ library for interacting with ANSI terminal windows
|
A class that encapsulates an ANSI control sequence. In the sequence "ESC[x;h;yC", '[' is the initiator, "C" is the command, and "x", "h" and "y" are the arguments. Additionally, some terminals send an extra escape when certain keys are held down, and if this occurs, then meta is true. Finally, some control sequences have an extender character after the initiator, such as "ESC[?6n". In this example, '?' is the extender. More...
#include <control_sequence.hpp>
Public Attributes | |
byte | initiator = 0 |
byte | command = 0 |
bool | meta = false |
std::vector< byte_storage > | arguments |
byte | extender = 0 |
Friends | |
auto | operator<=> (control_sequence const &lhs, control_sequence const &rhs) noexcept=default |
Relational operators for control sequences. | |
bool | operator== (control_sequence const &lhs, control_sequence const &rhs) noexcept=default |
Equality operator for control sequences. | |
A class that encapsulates an ANSI control sequence. In the sequence "ESC[x;h;yC", '[' is the initiator, "C" is the command, and "x", "h" and "y" are the arguments. Additionally, some terminals send an extra escape when certain keys are held down, and if this occurs, then meta is true. Finally, some control sequences have an extender character after the initiator, such as "ESC[?6n". In this example, '?' is the extender.