From 46fd4df719b1c3f3d84474c71da8b10e17601ffc Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 10 Jul 2015 14:05:10 +0200 Subject: patch 7.4.770 Problem: Background color response with transparency is not ignored. Solution: Change the way escape sequences are recognized. (partly by Hirohito Higashi) --- src/ascii.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/ascii.h') diff --git a/src/ascii.h b/src/ascii.h index a3cfecff71..7ed736a9f6 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 -- cgit v1.2.3