[This sequence collides with osc-50_konsole]
Set or query fonts.
font starts with ? this is a query. Without further characters in
font the terminal replies with the currently selected font as ESC]50;ⓈESC\. Otherwise the reply contains the slot number and the slot to query can be specified as a number optionally with +/- as described below (omit the '#' in the query form). The response has the format ESC]50;#Ⓝ␣ⓈESC\.
font starts with # followed by a number optionally prefixed with - or + then it selects one of xterms font slots. Without +/- this selects the font slot to act on. With +1 it selects the next bigger font from the font slots and with -1 it selects the next smaller font. Higher relative numbers are also supported. The relative selection does not wrap. The font slots are numbered 0 to 6.
font does not start with #, acts on the currently selected font slot.
The rest of
font is interpreted as name of the font to set for the specified slot. The specified slot is also set as active slot. The font name is depending on configuration either a X11 font (XLFD) or a Xft font name.