diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-07-14 03:29:29 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-07-14 03:29:29 +0200 |
commit | 45e2f9a5c6a8ac29ce9fa1bf2e18343098c4a050 (patch) | |
tree | f153a392222863bfdec8f1b8b79da28710aa5790 /src/qregisters.cpp | |
parent | c39b54543c81fefdf30a67caac9a86f9f8ecd215 (diff) | |
download | sciteco-45e2f9a5c6a8ac29ce9fa1bf2e18343098c4a050.tar.gz |
curses UI: support terminal palette restoration on PDCurses/win32 and xterm
* palette changes are persistent on PDCurses/win32, too.
Fortunately, on this port we can reliably query the console palette.
This is done ONLY on PDcurses/win32 since on other ports (notably
ncurses), this can cause more harm than it helps.
* support palette restoration on xterm by hardcoding the appropriate
escape sequence. $TERM cannot be used to identify xterm, but
looking at $XTERM_VERSION is sufficient hopefully.
Diffstat (limited to 'src/qregisters.cpp')
0 files changed, 0 insertions, 0 deletions