]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1162: completion popup not cleared in cmdline v9.1.1162
authorglepnir <glephunter@gmail.com>
Sat, 1 Mar 2025 15:17:00 +0000 (16:17 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 1 Mar 2025 15:19:44 +0000 (16:19 +0100)
commitff159253eb55fa881e1fcfc45f1de5d73d15bdd4
tree63607d73540ff5def137ba3ff044d9679200cc4f
parent94a045ed56d7616c0cd0080d3f308d6cf9fbe64c
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>
src/popupwin.c
src/proto/popupwin.pro
src/screen.c
src/testdir/dumps/Test_info_popupwin_clears_cmdline_on_hide_01.dump [new file with mode: 0644]
src/testdir/dumps/Test_info_popupwin_clears_cmdline_on_hide_02.dump [new file with mode: 0644]
src/testdir/test_popupwin.vim
src/version.c