summaryrefslogtreecommitdiffstats
path: root/src/drawscreen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-10 17:22:31 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-10 17:22:31 +0100
commit1666ac9c5685328895f6480ad6b14d1e11c77025 (patch)
tree94d2e5b6cacdf4aaa11c871215779962e24d49ee /src/drawscreen.c
parent622b64603748cceafd47f7537b96610e824e0680 (diff)
patch 8.1.2287: using EndOfBuffer highlight in popup does not look goodv8.1.2287
Problem: Using EndOfBuffer highlight in popup does not look good. Solution: Do not EndOfBuffer highlight. (closes #5204)
Diffstat (limited to 'src/drawscreen.c')
-rw-r--r--src/drawscreen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c
index abf34b5e99..275925727b 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -2535,8 +2535,10 @@ win_update(win_T *wp)
// Make sure the rest of the screen is blank
// put '~'s on rows that aren't part of the file.
- win_draw_end(wp, WIN_IS_POPUP(wp) ? ' ' : '~',
- ' ', FALSE, row, wp->w_height, HLF_EOB);
+ 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);
}
#ifdef SYN_TIME_LIMIT