]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0468: popups: not correctly updated from a CmdlineChanged autocommand v9.2.0468
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Sun, 10 May 2026 18:20:01 +0000 (18:20 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 10 May 2026 18:20:01 +0000 (18:20 +0000)
commitef1ecc3b61fd9f462ae3571ed98dd09457659e63
tree76bd6eb16d6f1fb315b77316b6c7e6d530a92305
parent5ef1eec5c5a351d84ce1434c250aad255da7c4f4
patch 9.2.0468: popups: not correctly updated from a CmdlineChanged autocommand

Problem:  popup_show() from a CmdlineChanged autocommand doesn't update
          the screen (Mao-Yining)
Solution: Refresh the screen when popups need redraw
          (Yasuhiro Matsumoto).

popup_settext()/popup_show() called from a CmdlineChanged autocommand
did not refresh the screen because cmdline mode normally skips
update_screen(), so async info-popup updates only became visible after
a manual :redraw.  Refresh the screen when popups need redrawing right
after the autocommand.

fixes:  #20175
closes: #20179

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/ex_getln.c
src/testdir/dumps/Test_wildmenu_pum_info_async_update.dump [new file with mode: 0644]
src/testdir/test_cmdline.vim
src/version.c