diff src/drawscreen.c @ 18586:78e43be18f6b v8.1.2287

patch 8.1.2287: using EndOfBuffer highlight in popup does not look good Commit: https://github.com/vim/vim/commit/1666ac9c5685328895f6480ad6b14d1e11c77025 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 10 17:22:31 2019 +0100 patch 8.1.2287: using EndOfBuffer highlight in popup does not look good Problem: Using EndOfBuffer highlight in popup does not look good. Solution: Do not EndOfBuffer highlight. (closes https://github.com/vim/vim/issues/5204)
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 Nov 2019 17:30:03 +0100
parents d6cb1e706fb7
children e4b03b369c41
line wrap: on
line diff
--- 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