]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1540: completion: menu state wrong on interruption v9.1.1540
authorGirish Palya <girishji@gmail.com>
Sun, 13 Jul 2025 15:01:57 +0000 (17:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 13 Jul 2025 15:01:57 +0000 (17:01 +0200)
commitf6a308c65bfe881535ea924028b9386fbd3ba4da
tree44fcc199a429465865e18703e2e9c82a08738bd3
parentfe1d3c8af764831aa51a8922ce24a7cfd9e6129d
patch 9.1.1540: completion: menu state wrong on interruption

Problem:  completion: menu state wrong on interruption
          (Maxim Kim)
Solution: Call show_pum() if completion was interrupted
          (Girish Palya).

Popup menu was not built after fuzzy sorting, so internal state wasn't
reflected on screen.

No test. Couldn't get the terminal test to trigger both interruption and
refresh together.

fixes: #17725
closes: #17736

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/version.c