mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
vim-patch:8.2.0943: displaying ^M or ^J depends on current buffer
Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes vim/vim#6225)32ee627750
N/A patches for version.c: vim-patch:8.2.0862: ":term ++curwin" makes the current buffer hidden Problem: ":term ++curwin" makes the current buffer hidden. (Harm te Hennepe) Solution: Do not hide the current buffer. (closes vim/vim#6170)b10090928c
This commit is contained in:
@@ -3634,7 +3634,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
|
||||
mb_utf8 = false; // don't draw as UTF-8
|
||||
}
|
||||
} else if (c != NUL) {
|
||||
p_extra = transchar(c);
|
||||
p_extra = transchar_buf(wp->w_buffer, c);
|
||||
if (n_extra == 0) {
|
||||
n_extra = byte2cells(c) - 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user