aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qregisters.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-07-14 03:29:29 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-07-14 03:29:29 +0200
commit45e2f9a5c6a8ac29ce9fa1bf2e18343098c4a050 (patch)
treef153a392222863bfdec8f1b8b79da28710aa5790 /src/qregisters.cpp
parentc39b54543c81fefdf30a67caac9a86f9f8ecd215 (diff)
downloadsciteco-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