Skip to content

Commit

Permalink
fix: don't remove VTERM_ANSI_INDEX_NONE
Browse files Browse the repository at this point in the history
  • Loading branch information
izik1 committed Sep 23, 2021
1 parent ee565e8 commit 41e5521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/term.c
Original file line number Diff line number Diff line change
Expand Up @@ -1519,9 +1519,7 @@ int set_termname(char_u *term)
struct builtin_term *termp;
#ifdef HAVE_TGETENT
int builtin_first = p_tbi;
int
try
;
int try;
int termcap_cleared = FALSE;
#endif
int width = 0, height = 0;
Expand Down Expand Up @@ -3901,6 +3899,8 @@ static int grey_ramp[] = {
0x08, 0x12, 0x1C, 0x26, 0x30, 0x3A, 0x44, 0x4E, 0x58, 0x62, 0x6C, 0x76,
0x80, 0x8A, 0x94, 0x9E, 0xA8, 0xB2, 0xBC, 0xC6, 0xD0, 0xDA, 0xE4, 0xEE};

#define VTERM_ANSI_INDEX_NONE 0

static char_u ansi_table[16][4] = {
// R G B idx
{0, 0, 0, 1}, // black
Expand Down

0 comments on commit 41e5521

Please sign in to comment.