display: show "[" for half of two-column character also when softwrapping
This should have been part of commit ad505e7f
.
master
parent
79ca3ceabf
commit
1eb639d55e
|
@ -2849,11 +2849,10 @@ int update_softwrapped_line(filestruct *fileptr)
|
|||
if (end_of_line)
|
||||
break;
|
||||
|
||||
/* If the line is softwrapped before its last column, add a ">" just
|
||||
* after its softwrap breakpoint, unless we're softwrapping at blanks
|
||||
* and not in the middle of a word. */
|
||||
/* If the line is softwrapped early (because of a two-column character),
|
||||
* show a "[" placeholder, unless we're softwrapping at blanks. */
|
||||
if (!ISSET(AT_BLANKS) && to_col - from_col < editwincols)
|
||||
mvwaddch(edit, row - 1, to_col - from_col, '>');
|
||||
mvwaddch(edit, row - 1, to_col - from_col, '[');
|
||||
|
||||
from_col = to_col;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue