Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::InputOptions Struct Reference

Explicit resource and timing policy, independent of terminal capabilities. More...

#include <input.hpp>

Public Attributes

std::size_t max_sequence_bytes {64}
 CSI/SS3 cap including ESC, introducer and final; 3..64.
std::size_t max_parameters {16}
 Numeric fields/empty CSI 48 colon slots per sequence; 1..16.
std::size_t max_digits {10}
 Decimal digits per field; 1..10, with checked uint32 arithmetic.
std::size_t max_paste_bytes {1024 * 1024}
 Maximum complete payload; zero permits empty paste.
std::size_t work_bytes {4096}
 Maximum accepted bytes per pull; must be positive.
InputTime escape_timeout {30}
 ESC/Alt scalar ambiguity interval; must be positive.
InputTime sequence_timeout {1000}
 Whole CSI/SS3/string/ordinary UTF-8 interval; positive.
InputTime paste_timeout {30000}
 Whole paste interval from begin delimiter; positive.
bool sgr_mouse {true}
 Decode SGR cell mouse reports.
bool bracketed_paste {true}
 Decode bracketed paste delimiters.
bool terminal_reports {false}
 Decode CSI 48 and DEC private mode reports outside paste.

Detailed Description

Explicit resource and timing policy, independent of terminal capabilities.


The documentation for this struct was generated from the following file: