Tcl Library Source Code

Help: test-terminal-size
Login
Bounty program for improvements to Tcl and certain Tcl packages.

The "test-terminal-size" command:

Show the size of the terminal window from which the command is launched as two integers, the width in characters and the height in lines.

If the size cannot be determined, two zeros are shown.