diff --git a/src/terminal/draw.c b/src/terminal/draw.c index 9d8ae96ef..8c3f3d2d6 100644 --- a/src/terminal/draw.c +++ b/src/terminal/draw.c @@ -46,8 +46,10 @@ draw_border_cross(struct terminal *term, int x, int y, enum border_cross_direction dir, struct color_pair *color) { static unsigned char border_trans[2][4] = { + /* Used for BORDER_X_{RIGHT,LEFT}: */ { BORDER_SVLINE, BORDER_SRTEE, BORDER_SLTEE, BORDER_SCROSS }, - { BORDER_SHLINE, /* ? */ 0xc2, /* ? */ 0xc1, BORDER_SCROSS }, + /* Used for BORDER_X_{DOWN,UP}: */ + { BORDER_SHLINE, BORDER_SDTEE, BORDER_SUTEE, BORDER_SCROSS }, }; struct screen_char *screen_char = get_char(term, x, y); unsigned int d; diff --git a/src/terminal/draw.h b/src/terminal/draw.h index 680d66fac..a771ac00b 100644 --- a/src/terminal/draw.h +++ b/src/terminal/draw.h @@ -52,6 +52,8 @@ enum border_char { BORDER_SDRCORNER = 217, BORDER_SLTEE = 180, /* => the tee points to the left => -| */ BORDER_SRTEE = 195, + BORDER_SDTEE = 194, + BORDER_SUTEE = 193, BORDER_SVLINE = 179, BORDER_SHLINE = 196, BORDER_SCROSS = 197, /* + */