Mercurial > vim
diff src/drawscreen.c @ 23932:4549133c1e77 v8.2.2508
patch 8.2.2508: cannot change the character displayed in non existing lines
Commit: https://github.com/vim/vim/commit/a98f8a230596d8fb44cc68321de72980a21428cb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 13 18:24:23 2021 +0100
patch 8.2.2508: cannot change the character displayed in non existing lines
Problem: Cannot change the character displayed in non existing lines.
Solution: Add the "eob" item to 'fillchars'. (closes https://github.com/vim/vim/issues/7832, closes https://github.com/vim/vim/issues/3820)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Feb 2021 18:30:03 +0100 |
parents | 7fb29e719d79 |
children | 44be09b25619 |
line wrap: on
line diff
--- a/src/drawscreen.c +++ b/src/drawscreen.c @@ -2552,11 +2552,11 @@ win_update(win_T *wp) wp->w_botline = lnum; // Make sure the rest of the screen is blank - // put '~'s on rows that aren't part of the file. + // write the 'fill_eob' character to rows that aren't part of the file if (WIN_IS_POPUP(wp)) win_draw_end(wp, ' ', ' ', FALSE, row, wp->w_height, HLF_AT); else - win_draw_end(wp, '~', ' ', FALSE, row, wp->w_height, HLF_EOB); + win_draw_end(wp, fill_eob, ' ', FALSE, row, wp->w_height, HLF_EOB); } #ifdef SYN_TIME_LIMIT