Property SizeDetection
SizeDetection
Controls how the ANSI driver detects the terminal's window size.
Defaults to AnsiQuery, which sends a
CSI 18t ANSI escape-sequence query to obtain the terminal size.
Set to Polling to use a synchronous
native syscall (ioctl on Unix, Console API on Windows) instead —
useful when the ANSI query response does not reflect the remote terminal
size (e.g., over an SSH tunnel).
[ConfigurationProperty(Scope = typeof(SettingsScope))]
public static SizeDetectionMode SizeDetection { get; set; }
Property Value
- See Also