aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ascii.h
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2020-04-26 22:15:47 +0900
committerGitHub <noreply@github.com>2020-04-26 15:15:47 +0200
commitf3ffe0b325170dd214b80e371bee5a56b7054940 (patch)
tree01b37be2993bc4acffcb2f7db6d3a774d4d2a65d /src/nvim/ascii.h
parent3de9452abf182519fd9a015fe489a37d14aa78d9 (diff)
downloadrneovim-f3ffe0b325170dd214b80e371bee5a56b7054940.tar.gz
rneovim-f3ffe0b325170dd214b80e371bee5a56b7054940.tar.bz2
rneovim-f3ffe0b325170dd214b80e371bee5a56b7054940.zip
tui: improve support for GNU Screen (#12098)
Wrapping it in DCS allows the following features to work with GNU Screen. - Changing the cursor style. - bracketed paste. - focus reporting.
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 2397af27cc..31423e79af 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