mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.371
Problem: When 'linebreak' is set control characters are not correctly displayed. (Kimmy Lindvall) Solution: Set n_extra. (Christian Brabandt)
This commit is contained in:
parent
dfdfee0260
commit
244ea63724
@ -3562,6 +3562,9 @@ win_line (
|
||||
mb_utf8 = FALSE; /* don't draw as UTF-8 */
|
||||
} else if (c != NUL) {
|
||||
p_extra = transchar(c);
|
||||
if (n_extra == 0) {
|
||||
n_extra = byte2cells(c);
|
||||
}
|
||||
if ((dy_flags & DY_UHEX) && wp->w_p_rl)
|
||||
rl_mirror(p_extra); /* reverse "<12>" */
|
||||
c_extra = NUL;
|
||||
|
@ -224,7 +224,7 @@ static int included_patches[] = {
|
||||
//374,
|
||||
//373,
|
||||
//372,
|
||||
//371,
|
||||
371,
|
||||
//370,
|
||||
//369,
|
||||
//368,
|
||||
|
Loading…
Reference in New Issue
Block a user