Interface ISizeMonitor
Interface for classes responsible for reporting the current size of the terminal window.
public interface ISizeMonitor
Methods
- Initialize(IDriver?)
Called after the driver is fully initialized to allow the size monitor to perform any setup that requires access to the driver (e.g., queuing ANSI requests, setting up signal handlers, registering for console events).
- Poll()
Examines the current size of the terminal and raises SizeChanged if it is different from last inspection.
Events
- SizeChanged
Invoked when the terminal's size changed. The new size of the terminal is provided.