mirror of
https://github.com/neovim/neovim.git
synced 2026-02-06 03:47:20 +00:00
Problem: Parts of the popup menu were rendered twice when the popup was
at maximum width because the truncation flag was being set too
liberally.
Solution: Make the truncation condition more precise by only setting it
when there's exactly one character of space remaining
(glepnir).
closes: vim/vim#17108
32f2bb6e1e
Co-authored-by: glepnir <glephunter@gmail.com>