term_width: Get the with of the terminal window in pixels
Description
Get the with of the terminal window in pixels
Usage
term_width()
Arguments
Value
An integer with the number of pixels the terminal is wide This value can be
zero when the terminal does not support querying the size. Under windows the
return value will always be zero as querying the size depends on POSIX
support.
See Also
term_height for the terminal height and term_dim
for all dimensions including the dimensions in rows and columns.