cmd
= 0 Report terminal window size in pixels.
The terminal replies:
ESC[4;Ⓝ;Ⓝt
Where heightpx
and widthpx
are the size of the terminal window in pixels.
If cmd
= 2 then the size including window decorations and scrollbar/toolbar is reported.
🛈 the reported width includes the scrollbar but not window decorations.
🛈 The value of cmd
is ignored.
🛈 The reported height and width are the area of the cell grid.
🛈 The value of cmd
is ignored.