summaryrefslogtreecommitdiffstats
path: root/contrib/less/less.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/less.h')
-rw-r--r--contrib/less/less.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/less/less.h b/contrib/less/less.h
index ada9e27..eb40a0f 100644
--- a/contrib/less/less.h
+++ b/contrib/less/less.h
@@ -150,6 +150,8 @@ void free();
#define IS_DIGIT(c) ((c) >= '0' && (c) <= '9')
#endif
+#define IS_CSI_START(c) ((c) == ESC || ((unsigned char)(c)) == CSI)
+
#ifndef NULL
#define NULL 0
#endif
@@ -425,6 +427,7 @@ struct textlist
#endif /* IS_EBCDIC_HOST */
#define ESC CONTROL('[')
+#define CSI ((unsigned char)'\233')
#if _OSK_MWC32
#define LSIGNAL(sig,func) os9_signal(sig,func)
OpenPOWER on IntegriCloud