consider implementing new xterm SGR and colour stacks
xterm 334 adds a SGR stack, pushed with CSI # {
and popped with CSI # }
. If parameters are present, they specify which attributes are saved (same numbers as in SGR), otherwise all attributes are saved. The stack is limited to 10 entries.
Edited by Christian Persch