size
The size of the terminal surface in both monospace cells and, optionally, pixels. Updates to the size can be sourced from multiple locations depending on whether Capabilities.inBandResizeEvents is true and native operating system API support.
If interactive is false, the default is Size.Default.