rline_exp: disable highlighting of space at eol
it just doesn't look good with tab completion adding spaces
This commit is contained in:
parent
3fbac34e2c
commit
d6fe16c406
@ -870,11 +870,13 @@ static void render_line(void) {
|
||||
set_colors(COLOR_ALT_FG, COLOR_ALT_BG);
|
||||
printf("[U+%06x]", c.codepoint);
|
||||
set_colors(last_color ? last_color : COLOR_FG, COLOR_BG);
|
||||
#if 0
|
||||
} else if (c.codepoint == ' ' && i == line->actual - 1) {
|
||||
/* Special case: space at end of line */
|
||||
set_colors(COLOR_ALT_FG, COLOR_ALT_BG);
|
||||
printf("·");
|
||||
set_colors(COLOR_FG, COLOR_BG);
|
||||
#endif
|
||||
} else {
|
||||
/* Normal characters get output */
|
||||
char tmp[7]; /* Max six bytes, use 7 to ensure last is always nil */
|
||||
|
Loading…
Reference in New Issue
Block a user