Terminal Guide

Report Screen Size in Pixels

ESC1B[5B 1531 35 t74
urxvt
xterm
🔧
vte
konsole

Report screen size in pixels.

The terminal replies:

ESC1b [5b 535 ;3b heightpx ;3b widthpx t74 

Where heightpx and widthpx are the size of the screen in pixels.