Terminal Guide

Report Terminal Size

ESC1B[5B 1831 38 t74
urxvt
xterm
🔧
vte
konsole

Report the size of the terminal in cells.

The terminal replies:

ESC1b [5b 838 ;3b height ;3b width t74 

Where height and width are the size of the terminal in cells.