[vim/vim] Always resize when in hit enter prompt (PR #20852)

7 views
Skip to first unread message

Foxe Chen

unread,
Jul 26, 2026, 9:47:07 PM (yesterday) Jul 26
to vim/vim, Subscribed

If in a hit enter prompt and the shell size changes, it is supposedly postponed with MODE_SETWSIZE. However that does nothing because its called under the do while loop wait_return(), so the loop does not stop, resulting in Vim screen contents being messed up until some input is received (which causes the loop to stop).


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20852

Commit Summary

  • 7b91e59 alwasys resize when in hit enter prompt

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20852@github.com>

Christian Brabandt

unread,
3:11 PM (7 hours ago) 3:11 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20852)

Hm, but that will always clear the hit enter prompt. when resizing while in a hit enter prompt


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20852/c5095649240@github.com>

Foxe Chen

unread,
3:16 PM (7 hours ago) 3:16 PM
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#20852)

Hm, but that will always clear the hit enter prompt. when resizing while in a hit enter prompt

Yes but without clearing the screen, the screen will be messed up on resize meaning you have to clear the screen manually anyways. Maybe it would be better to keep the hit enter prompt when resizing, but this seems like an edge case so im not sure if its worth it


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20852/c5095696587@github.com>

Reply all
Reply to author
Forward
0 new messages