3#include "di/container/string/string_view.h"
4#include "di/container/vector/vector.h"
5#include "di/vocab/variant/variant.h"
13using Event = di::Variant<KeyEvent, MouseEvent, FocusEvent, PasteEvent>;
17 auto parse(di::StringView input) -> di::Vector<Event>;
21 void handle(
DCS const& dcs);
22 void handle(
OSC const& osc);
23 void handle(
APC const& apc);
24 void handle(
CSI const& csi);
25 void handle(
Escape const& escape);
29 di::Vector<Event> m_events;
30 bool m_in_bracketed_paste {
false };
31 di::String m_paste_buffer;
Definition escape_sequence_parser.h:94
Definition cursor_style.h:5
di::Variant< KeyEvent, MouseEvent, FocusEvent, PasteEvent > Event
Definition terminal_input.h:13
Definition escape_sequence_parser.h:45
Definition escape_sequence_parser.h:55
Definition escape_sequence_parser.h:80
Definition escape_sequence_parser.h:21
Definition escape_sequence_parser.h:68
Definition escape_sequence_parser.h:34
Definition escape_sequence_parser.h:11