Terminal++ 3.1.0.4
A C++ library for interacting with ANSI terminal windows
Loading...
Searching...
No Matches
token.hpp
1#pragma once
2
3#include "terminalpp/control_sequence.hpp"
4#include "terminalpp/mouse.hpp"
5#include "terminalpp/virtual_key.hpp"
6
7#include <span>
8#include <variant>
9#include <vector>
10
11namespace terminalpp {
12
13using token = std::variant<
17
18using tokens = std::span<token const>;
19using token_storage = std::vector<token>;
20
21} // namespace terminalpp
A class that encapsulates an ANSI control sequence. In the sequence "ESC[x;h;yC", '[' is the initiato...
Definition control_sequence.hpp:20
A structure that encapsulates a mouse event.
Definition mouse.hpp:24
A class that represents a keypress, possibly combined with modifiers such as shift,...
Definition virtual_key.hpp:187