Enum SizeDetectionMode
Controls how the ANSI driver detects the terminal's window size.
public enum SizeDetectionMode
- Extension Methods
Fields
AnsiQuery = 0Sends a
CSI 18tANSI escape-sequence query and parses theESC [ 8 ; height ; width tresponse. Works over SSH or any ANSI-compatible terminal. Use this as an explicit fallback when a native size query is unavailable or does not report the transport's size.Polling = 1Uses
ioctl(TIOCGWINSZ)on Unix/macOS or the Console API on Windows. This is the default on supported local platforms because it is synchronous, immediate, and does not generate terminal query traffic.