3#include "di/reflect/prelude.h"
4#include "di/util/bitwise_enum.h"
19constexpr auto tag_invoke(di::Tag<di::reflect>, di::InPlaceType<ApplicationCursorKeysMode>) {
21 return di::make_enumerators<
"ApplicationCursorKeysMode">(di::enumerator<
"Disabled",
Disabled>,
22 di::enumerator<
"Enabled",
Enabled>);
41 return di::make_enumerators<
"KeyReportingFlags">(
50 -> di::Optional<di::String>;
Definition cursor_style.h:5
auto key_event_from_csi(CSI const &csi) -> di::Optional< KeyEvent >
Definition key_event_io.cpp:623
KeyReportingFlags
Definition key_event_io.h:27
@ ReportAssociatedText
Definition key_event_io.h:33
@ ReportAllKeysAsEscapeCodes
Definition key_event_io.h:32
@ All
Definition key_event_io.h:34
@ Disambiguate
Definition key_event_io.h:29
@ ReportEventTypes
Definition key_event_io.h:30
@ ReportAlternateKeys
Definition key_event_io.h:31
Modifiers
Definition modifiers.h:9
@ None
Definition modifiers.h:10
@ None
Definition direction.h:8
constexpr auto tag_invoke(di::Tag< di::reflect >, di::InPlaceType< CursorStyle >)
Definition cursor_style.h:16
ApplicationCursorKeysMode
Definition key_event_io.h:14
auto key_event_from_legacy_code_point(c32 code_point, Modifiers base_modifiers=Modifiers::None) -> KeyEvent
Definition key_event_io.cpp:572
@ Enabled
Definition focus_event_io.h:12
@ Disabled
Definition focus_event_io.h:11
auto serialize_key_event(KeyEvent const &event, ApplicationCursorKeysMode cursor_key_mode, KeyReportingFlags flags) -> di::Optional< di::String >
Definition key_event_io.cpp:453