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:
parent
eb14866bb4
commit
9735520297
@ -46,8 +46,10 @@ draw_border_cross(struct terminal *term, int x, int y,
|
|||||||
enum border_cross_direction dir, struct color_pair *color)
|
enum border_cross_direction dir, struct color_pair *color)
|
||||||
{
|
{
|
||||||
static unsigned char border_trans[2][4] = {
|
static unsigned char border_trans[2][4] = {
|
||||||
|
/* Used for BORDER_X_{RIGHT,LEFT}: */
|
||||||
{ BORDER_SVLINE, BORDER_SRTEE, BORDER_SLTEE, BORDER_SCROSS },
|
{ 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);
|
struct screen_char *screen_char = get_char(term, x, y);
|
||||||
unsigned int d;
|
unsigned int d;
|
||||||
|
@ -52,6 +52,8 @@ enum border_char {
|
|||||||
BORDER_SDRCORNER = 217,
|
BORDER_SDRCORNER = 217,
|
||||||
BORDER_SLTEE = 180, /* => the tee points to the left => -| */
|
BORDER_SLTEE = 180, /* => the tee points to the left => -| */
|
||||||
BORDER_SRTEE = 195,
|
BORDER_SRTEE = 195,
|
||||||
|
BORDER_SDTEE = 194,
|
||||||
|
BORDER_SUTEE = 193,
|
||||||
BORDER_SVLINE = 179,
|
BORDER_SVLINE = 179,
|
||||||
BORDER_SHLINE = 196,
|
BORDER_SHLINE = 196,
|
||||||
BORDER_SCROSS = 197, /* + */
|
BORDER_SCROSS = 197, /* + */
|
||||||
|
Loading…
Reference in New Issue
Block a user