Terminal Guide

Save Rendition Attributes

ESC1B[5B [ code ]1+ #23 {7b
xterm
vte
repeated (one or more times):
code = 0

Save the current graphic rendition attributes.

Takes a list of codes to save. If no parameters are specified all attributes are saved.

The current setting for each selected attribute is saved to a stack of implementation defined size. The topmost entry of the stack can be restored using restore rendition attributes.

codeattribute
1bold
2faint
3italic
4underline
5blink
7inverse
8invisible
9strikethrough
10foreground color
11background color
21double underline

xterm ( ✔ )

since: 345

🛈 The stack has a maximum size of 10 entries. 🛈 in version 344 there have been values for code 12 and 13 which have been "direct color foreground" and "direct color background". These have been removed. Usage of color save/restore in version 344 can lead to glitches.

vte ( ∅ )

🛈 https://gitlab.gnome.org/GNOME/vte/issues/23