Enum SizeDetectionMode
Controls how the ANSI driver detects the terminal's window size.
public enum SizeDetectionMode
Fields
AnsiQuery = 0Sends a
CSI 18tANSI escape-sequence query and parses theESC [ 8 ; height ; width tresponse. Works over SSH or any ANSI-compatible terminal. This is the default.Polling = 1Uses
ioctl(TIOCGWINSZ)on Unix/macOS or the Console API on Windows. Synchronous, immediate, and reliable. Useful when the ANSI query response does not reflect the remote terminal size (e.g., over an SSH tunnel).