summaryrefslogtreecommitdiffstats
path: root/src/drawscreen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-13 18:24:23 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-13 18:24:23 +0100
commita98f8a230596d8fb44cc68321de72980a21428cb (patch)
treef768896ab8192818caa41867883bb2c40f71a797 /src/drawscreen.c
parent942db23c9cb7532d68048530d749eb84ca94d0cd (diff)
patch 8.2.2508: cannot change the character displayed in non existing linesv8.2.2508
Problem: Cannot change the character displayed in non existing lines. Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
Diffstat (limited to 'src/drawscreen.c')
-rw-r--r--src/drawscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c
index 0cddff39a4..694b9dac31 100644
--- 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