aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-01-06 22:12:22 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-01-07 10:26:41 +0100
commitc71760a7e1867a3d1d528811c3b5c305dfdab3d1 (patch)
tree312ad8b54b6240cf0972d54e4d0c78e22a5bbee6 /sam.c
parent6d2d23ac62fe41dcac97b21985051cfc87e0362f (diff)
downloadvis-c71760a7e1867a3d1d528811c3b5c305dfdab3d1.tar.gz
vis-c71760a7e1867a3d1d528811c3b5c305dfdab3d1.tar.xz
ui: improve color palette reset
Do not restore color palette for :! commands (i.e. in ui_terminal_save). By far the most common use of this is to invoke vis-menu(1) (e.g. indirectly through `:open .` or for word completion). Restoring the palette in this case also affects the file content still being visible above the menu thus causing weird display artifacts. Use the OSC 104 escape sequence to reset color palette. This should respect custom color profiles.
Diffstat (limited to 'sam.c')
0 files changed, 0 insertions, 0 deletions