patch 9.1.1162: completion popup not cleared in cmdline
Problem: When an info popup spans into the cmdline area and ESC is
pressed, some content remains visible on screen (yu3s)
Solution: Add popup_overlays_cmdline() check in screen_fill() to prevent
prematurely clearing the clear_cmdline flag (glepnir).
fixes: #15627
closes: #16765
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
94a045ed56
commit
ff159253eb
@ -2327,7 +2327,11 @@ screen_fill(
|
||||
{
|
||||
redraw_cmdline = TRUE;
|
||||
if (start_col == 0 && end_col == Columns
|
||||
&& c1 == ' ' && c2 == ' ' && attr == 0)
|
||||
&& c1 == ' ' && c2 == ' ' && attr == 0
|
||||
#ifdef FEAT_PROP_POPUP
|
||||
&& !popup_overlaps_cmdline()
|
||||
#endif
|
||||
)
|
||||
clear_cmdline = FALSE; // command line has been cleared
|
||||
if (start_col == 0)
|
||||
mode_displayed = FALSE; // mode cleared or overwritten
|
||||
|
||||
Reference in New Issue
Block a user