1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

add_border_cross(): Add missing BORDER_S{D,U}TEE values

This commit is contained in:
Jonas Fonseca 2005-10-11 15:36:45 +02:00 committed by Jonas Fonseca
parent eb14866bb4
commit 9735520297
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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, /* + */