summaryrefslogtreecommitdiffstats
path: root/mbbsd/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/var.c')
-rw-r--r--mbbsd/var.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/mbbsd/var.c b/mbbsd/var.c
index baee68d0..c9e439ca 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -312,15 +312,17 @@ int b_lines = 23; // bottom line of screen
int t_lines = 24; // term lines
int p_lines = 20;
int t_columns = 80;
-char * const strtstandout = "\33[7m";
+
+/* refer to ansi.h for *len */
+char * const strtstandout = ANSI_COLOR(7);
const int strtstandoutlen = 4;
-char * const endstandout = "\33[m";
+char * const endstandout = ANSI_RESET;
const int endstandoutlen = 3;
-char * const clearbuf = "\33[H\33[J";
+char * const clearbuf = ESC_STR "[H" ESC_STR "[J";
const int clearbuflen = 6;
-char * const cleolbuf = "\33[K";
+char * const cleolbuf = ESC_STR "[K";
const int cleolbuflen = 3;
-char * const scrollrev = "\33M";
+char * const scrollrev = ESC_STR "M";
const int scrollrevlen = 2;
int automargins = 1;