Tcl Source Code

Help: test-terminal-size
Login

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.