diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-14 18:36:18 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-14 18:36:18 +0200 |
commit | d491b47e3d5dd916b7377edc2e5c08be9d375b3e (patch) | |
tree | 1620070bcc52b94d52e993423411e27443974b86 /src/ui/color.h | |
parent | 056b79839f7b0ecb503f223e483d97841c917bc8 (diff) |
Color: Extended range for color escapes
Use a double \r for color IDs 95 and beyond.
Diffstat (limited to 'src/ui/color.h')
-rw-r--r-- | src/ui/color.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/color.h b/src/ui/color.h index 69dbe797..e2a1c95b 100644 --- a/src/ui/color.h +++ b/src/ui/color.h | |||
@@ -173,6 +173,7 @@ iLocalDef iBool isRegularText_ColorId(enum iColorId d) { | |||
173 | #define permanent_ColorId 0x80 /* cannot be changed via escapes */ | 173 | #define permanent_ColorId 0x80 /* cannot be changed via escapes */ |
174 | 174 | ||
175 | #define asciiBase_ColorEscape 33 | 175 | #define asciiBase_ColorEscape 33 |
176 | #define asciiExtended_ColorEscape (128 - asciiBase_ColorEscape) | ||
176 | 177 | ||
177 | #define black_ColorEscape "\r!" | 178 | #define black_ColorEscape "\r!" |
178 | #define gray25_ColorEscape "\r\"" | 179 | #define gray25_ColorEscape "\r\"" |