Support for XTSAVE and XTRESTORE escape sequences
Are there any plans to support the
XTRESTORE control sequences from xterm? I often find them useful for restoring properties to their original values, rather than using
DECRST to "reset" them to some presumed value.
No, but only because no-one has asked :)
I looked through them quickly, and they don't seem difficult to implement.
Since you've used them... quick question: from what I can tell, you must specify which mode to save/restore, there's no value for
Ps that saves/restores all modes? It's fine if you don't know, I can dig it up in the xterm sources, hopefully.
... there's no value for
Psthat saves/restores all modes?
Not as far as I know. I guess because it would be deemed "wasteful", due to the need to save dozens of properties rather than just a specific few.
The way I use them is by sending, for example:
"\033[?1036;1039s" // XTSAVE "\033[?1036;1039h" // DECSET "\033[?1036;1039r" // XTRESTORE
Deleting a branch is permanent. It CANNOT be undone. Continue?