Files
neovim/test/functional/lua
Sean Dewar 7641177c5f fix(prompt): wrong cursor col after prompt_setprompt, no on_lines
Problem: prompt_setprompt calls coladvance with a byte column, but it expects a
screen column. on_lines buffer-updates aren't fired when fixing the prompt line.

Solution: don't use coladvance. Call changed_lines, which also simplifies the
redraw logic. (and calls changed_cline_bef_curs if needed; added test checks
this)

Unlike https://github.com/neovim/neovim/pull/37743/changes#r2775398744, this
means &modified is set by prompt_setprompt if it fixes the prompt line.
Not setting &modified is inconsistent anyway -- even init_prompt sets it if it
fixes the prompt line.
2026-02-15 23:41:32 +00:00
..
2024-04-23 18:17:04 +02:00
2026-02-12 13:46:45 +01:00
2025-01-09 09:26:45 -08:00
2025-09-03 23:03:51 -04:00
2025-11-22 17:04:32 -05:00
2024-04-23 18:17:04 +02:00
2026-02-12 13:46:45 +01:00
2026-01-12 03:50:57 +00:00