Terminal Guide

Window operations [DISPATCH]

ESC1B[5B cmd t74
urxvt
xterm
vte
konsole
TODO
cmd = 0

Various operations acting mostly on the window of the terminal.

Most of these are from more innocent times and since have proven to be either dangerous or otherwise problematic. A lot of the sub-commands are now disabled in the default or distribution configurations of many terminals.

As a special case values for cmd >= 24 resize the window similar to set terminal window size but using the current width and cmd as height.

See these sub commands:

urxvt xterm vte konsole linuxvc other
ESC [ 1 t
  Restore Terminal Window 🔧 🔧
ESC [ 10 ; t
  Alias: Maximize Terminal 🔧
ESC [ 11 t
  Report Terminal Window State 🔧
ESC [ 13 ; t
  Report Terminal Window Position 🔧 🔧
ESC [ 14 ; t
  Report Terminal Window Size in Pixels 🔧
ESC [ 15 t
  Report Screen Size in Pixels 🔧
ESC [ 16 t
  Report Cell Size in Pixels 🔧
ESC [ 18 t
  Report Terminal Size 🔧
ESC [ 19 t
  Report Screen Size 🔧
ESC [ 2 t
  Minimize Terminal Window 🔧 🔧
ESC [ 20 t
  Get Icon Title 🔧 🔧
ESC [ 21 t
  Get Terminal Title 🔧 🔧
ESC [ 22 ; t
  Push Terminal Title
ESC [ 23 ; t
  Pop Terminal Title
ESC [ 3 ; ; t
  Set Terminal Window Position 🔧 🔧
ESC [ 4 ; ; t
  Set Terminal Window Size in Pixels 🔧 🔧
ESC [ 5 t
  Raise Terminal Window 🔧 🔧
ESC [ 6 t
  Lower Terminal Window 🔧 🔧
ESC [ 7 t
  Refresh/Redraw Terminal Window 🔧
ESC [ 8 ; ; t
  Set Terminal Window Size 🔧 🔧 todo
ESC [ 9 ; t
  Maximize Terminal Window 🔧 🔧

xterm ( ✓ )

🛈 Commonly disabled by distributions