summaryrefslogtreecommitdiff
path: root/src/ascii.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-10 14:05:10 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-10 14:05:10 +0200
commit46fd4df719b1c3f3d84474c71da8b10e17601ffc (patch)
treea03db84831f33d2eb602ac9d813cb113ed4cbaaa /src/ascii.h
parent2693ca21cee8a729d74682fd86a4818f2b050228 (diff)
downloadvim-git-46fd4df719b1c3f3d84474c71da8b10e17601ffc.tar.gz
patch 7.4.770v7.4.770
Problem: Background color response with transparency is not ignored. Solution: Change the way escape sequences are recognized. (partly by Hirohito Higashi)
Diffstat (limited to 'src/ascii.h')
-rw-r--r--src/ascii.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/ascii.h b/src/ascii.h
index a3cfecff7..7ed736a9f 100644
--- a/src/ascii.h
+++ b/src/ascii.h
@@ -34,10 +34,6 @@
#define ESC_STR_nc "\033"
#define DEL 0x7f
#define DEL_STR (char_u *)"\177"
-#define CSI 0x9b /* Control Sequence Introducer */
-#define CSI_STR "\233"
-#define DCS 0x90 /* Device Control String */
-#define STERM 0x9c /* String Terminator */
#define POUND 0xA3
@@ -117,11 +113,6 @@
#define ESC_STR_nc "\x27"
#define DEL 0x07
#define DEL_STR (char_u *)"\007"
-/* TODO: EBCDIC Code page dependent (here 1047) */
-#define CSI 0x9b /* Control Sequence Introducer */
-#define CSI_STR "\233"
-#define DCS 0x90 /* Device Control String */
-#define STERM 0x9c /* String Terminator */
#define POUND 0xB1
@@ -173,6 +164,13 @@ extern char MetaCharTable[];
#endif /* defined EBCDIC */
+/* TODO: EBCDIC Code page dependent (here 1047) */
+#define CSI 0x9b /* Control Sequence Introducer */
+#define CSI_STR "\233"
+#define DCS 0x90 /* Device Control String */
+#define OSC 0x9d /* Operating System Command */
+#define STERM 0x9c /* String Terminator */
+
/*
* Character that separates dir names in a path.
* For MS-DOS, WIN32 and OS/2 we use a backslash. A slash mostly works