TerminalModeSnapshot
Immutable snapshot of the terminal's durable mode state.
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.
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 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).