TerminalModeSnapshot
Immutable snapshot of the published typed mode subset listed by this constructor.
This is the handoff contract for parser, input, and UI layers that need to read mode flags without mutating the core's internal TerminalModes instance. This is not an inventory of all terminal state: DECCOLM and the additional xterm key resources, for example, are available in the packed word but are not constructor fields. Future state families need not extend this type.
Constructors
Properties
The active format-other-keys wire format.
true when application cursor keys mode (DECCKM) is active.
true when application keypad mode (DECNKM) is active.
true when DECAWM auto-wrap mode is active.
true after the host explicitly selected DECBKM.
the explicit DECBKM byte selection: BS when true, DEL when false.
true when urgent bell mode (?1042) is active.
true when bracketed paste mode (?2004) is enabled.
true when the cursor blink presentation is active.
true when the cursor presentation is visible (DECTCEM).
true when focus in/out reporting (?1004) is enabled.
true when insert mode (IRM) is active, false for replace mode.
true when left/right margins (DECLRMM) are active.
true when new-line mode (LNM) is active.
true when origin mode (DECOM) is active.
true when pop on bell mode (?1043) is active.
true when reverse-video presentation (DECSCNM) is active.
true when synchronized output mode (?2026) is active.
Active Kitty keyboard progressive-enhancement flags.
The active modify-other-keys reporting level.
The active mouse report encoding mode.
The active mouse tracking mode.
true when East Asian Ambiguous characters are measured as wide (2 cells).