display: dot the stripe when it's in the last column, to defeat a VTE bug
This addresses https://savannah.gnu.org/bugs/?55896.master
parent
93ee0a8a65
commit
d9faac618d
|
@ -2696,7 +2696,7 @@ void edit_draw(filestruct *fileptr, const char *converted,
|
||||||
charlen = parse_mbchar(converted + target_x, striped_char, NULL);
|
charlen = parse_mbchar(converted + target_x, striped_char, NULL);
|
||||||
target_column = strnlenpt(converted, target_x);
|
target_column = strnlenpt(converted, target_x);
|
||||||
} else
|
} else
|
||||||
striped_char[0] = ' ';
|
striped_char[0] = (target_column + 1 == editwincols) ? '.' : ' ';
|
||||||
|
|
||||||
wattron(edit, interface_color_pair[GUIDE_STRIPE]);
|
wattron(edit, interface_color_pair[GUIDE_STRIPE]);
|
||||||
mvwaddnstr(edit, row, margin + target_column, striped_char, charlen);
|
mvwaddnstr(edit, row, margin + target_column, striped_char, charlen);
|
||||||
|
|
Loading…
Reference in New Issue