aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ascii.h
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2021-03-11 00:24:33 +0900
committererw7 <erw7.github@gmail.com>2021-03-11 00:45:16 +0900
commitc266c2f36ea56220268d2b19364e28815e338c2f (patch)
tree35e31d2f30ca8642012c2fe009ae0f08fbcd6a84 /src/nvim/ascii.h
parent300e71de9c3a99c613f295a74efba4bcce906064 (diff)
downloadrneovim-c266c2f36ea56220268d2b19364e28815e338c2f.tar.gz
rneovim-c266c2f36ea56220268d2b19364e28815e338c2f.tar.bz2
rneovim-c266c2f36ea56220268d2b19364e28815e338c2f.zip
tui: improve support for tmux, GNU Screen
Wrapping it in DCS allows the get_bg features to work with tmux, GNU Screen.
Diffstat (limited to 'src/nvim/ascii.h')
-rw-r--r--src/nvim/ascii.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ascii.h b/src/nvim/ascii.h
index f41068ea70..7e4dee3d34 100644
--- a/src/nvim/ascii.h
+++ b/src/nvim/ascii.h
@@ -31,7 +31,9 @@
#define CSI 0x9b // Control Sequence Introducer
#define CSI_STR "\233"
#define DCS 0x90 // Device Control String
+#define DCS_STR "\033P"
#define STERM 0x9c // String Terminator
+#define STERM_STR "\033\\"
#define POUND 0xA3