Closed christianparpart closed 4 months ago
Closes #1473 but does not implement #1473. This is because XTPUSHSGR / XTPOPSGR are conceptionally plain wrong.
However, having the ability to save and restore all SGR attribs at once is a really good idea that does suffice the general use-cases.
Having a stack only works around poor application implementations. This includes pushing specific SGR attribs alone.
This is why SGRSAVE and SGRRESTORE are simply saving and restoring the all the SGR attributes, including colors, and all other SGR attributes.
The chosen VT sequences intentionally conflict with XTPUSHSGR / XTPOPSGR because:
Closes #1473 but does not implement #1473. This is because XTPUSHSGR / XTPOPSGR are conceptionally plain wrong.
However, having the ability to save and restore all SGR attribs at once is a really good idea that does suffice the general use-cases.
Having a stack only works around poor application implementations. This includes pushing specific SGR attribs alone.
This is why SGRSAVE and SGRRESTORE are simply saving and restoring the all the SGR attributes, including colors, and all other SGR attributes.
The chosen VT sequences intentionally conflict with XTPUSHSGR / XTPOPSGR because:
Checklist