mirror of
https://github.com/neovim/neovim.git
synced 2026-02-24 03:11:04 +10:00
Problem: prompt_setprompt adjusted cursor col may be negative (<=0 when 1-based), and doesn't check the col of ': Solution: avoid negative col and adjust correctly if ': col differs from old prompt's length.