Shell Tools

Help: test-terminal-size
Login

Help: test-terminal-size

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.