TerminalInputPolicy
Runtime policy for keyboard encodings that do not have one unambiguous terminal byte representation.
The production encoder suppresses unsupported combinations by default rather than throwing, because UI toolkits may report platform-specific key states.
Constructors
Properties
when true, Alt prefixes applicable legacy encodings with ESC.
initial Backspace byte before an explicit DECBKM set/reset overrides it for the current terminal reset epoch.
handling for unmodified Return/Enter when ANSI Line Feed/New Line mode is active.
handling for Meta-only printable and legacy key encodings.
handling for legacy mouse coordinates outside the bounded ESC [ M byte range.
newline canonicalization for unbracketed pasted text. Bracketed paste always preserves original line endings.
payload sanitization for pasted text.
handling for valid key events whose modifier combination has no supported encoding in the active protocol set.