[vim/vim] Add support for in-band window resize events (PR #19596)

18 views
Skip to first unread message

Foxe Chen

unread,
Mar 7, 2026, 12:07:38 AM (5 days ago) Mar 7
to vim/vim, Subscribed

Alternative to SIGWINCH on Unix: https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83. It is trivial to implement, and a good amount of terminals support it.


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

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

Commit Summary

  • 19c20e4 add support for in-band winodw resize events

File Changes

(7 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596@github.com>

Foxe Chen

unread,
Mar 7, 2026, 12:30:00 AM (5 days ago) Mar 7
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19596)

Looking at it now, I don't think +termresponse is needed for synchronized output or this PR, as both do not use termcap. I originally added it because \033[2026;Ps$y would appear on the screen when running Vim in MSYS2. I will create another PR for this if this is the case.


Reply to this email directly, view it on GitHub.

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

Christian Brabandt

unread,
Mar 9, 2026, 3:01:23 PM (3 days ago) Mar 9
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19596)

Thanks. Does any terminal already support this?


Reply to this email directly, view it on GitHub.

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

Foxe Chen

unread,
Mar 9, 2026, 3:10:06 PM (3 days ago) Mar 9
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19596)

Thanks. Does any terminal already support this?

ghostty
iTerm2
kitty
foot


Reply to this email directly, view it on GitHub.

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

Christian Brabandt

unread,
Mar 9, 2026, 3:42:19 PM (3 days ago) Mar 9
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19596)

Thanks. So similar to the synchronized output setting, shouldn't we make those terminal settings configurable to allow users to opt-out of this feature just in case? E.g. like we need some t_XX key codes?


Reply to this email directly, view it on GitHub.

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

Foxe Chen

unread,
Mar 9, 2026, 4:26:52 PM (3 days ago) Mar 9
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19596)

Thanks. So similar to the synchronized output setting, shouldn't we make those terminal settings configurable to allow users to opt-out of this feature just in case? E.g. like we need some t_XX key codes?

Well Neovim supports this, and they don't have any setting to configure this IIRC. However I suppose we can add a t_ option to let the user disable it (set to an empty string)


Reply to this email directly, view it on GitHub.

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

Foxe Chen

unread,
Mar 10, 2026, 10:56:58 PM (2 days ago) Mar 10
to vim/vim, Push

@64-bitman pushed 1 commit.

  • c73fd83 add support for in-band winodw resize events


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/19c20e42727c7752731385c778fed68e76ee522d/after/c73fd83a660d5fadee1d74b098fe2d041e186c0a@github.com>

Foxe Chen

unread,
Mar 10, 2026, 11:02:38 PM (2 days ago) Mar 10
to vim/vim, Push

@64-bitman pushed 1 commit.

  • ae56ad1 add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/c73fd83a660d5fadee1d74b098fe2d041e186c0a/after/ae56ad1d4f127cc246cff5421771ad7bb5741b14@github.com>

Foxe Chen

unread,
Mar 10, 2026, 11:19:07 PM (2 days ago) Mar 10
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 3fe74f8 add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/ae56ad1d4f127cc246cff5421771ad7bb5741b14/after/3fe74f8d96fe03a0364f8a917ebdb3eedea8e58a@github.com>

Foxe Chen

unread,
Mar 10, 2026, 11:21:13 PM (2 days ago) Mar 10
to vim/vim, Push

@64-bitman pushed 1 commit.

  • aef46d0 add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/3fe74f8d96fe03a0364f8a917ebdb3eedea8e58a/after/aef46d01d7cdf4dcddf60f1c9c290623c81ef4bf@github.com>

Foxe Chen

unread,
Mar 10, 2026, 11:37:36 PM (2 days ago) Mar 10
to vim/vim, Push

@64-bitman pushed 1 commit.

  • a801b6b add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/aef46d01d7cdf4dcddf60f1c9c290623c81ef4bf/after/a801b6b82f40ec80e815c8354b80870399c3c275@github.com>

Foxe Chen

unread,
Mar 10, 2026, 11:52:43 PM (2 days ago) Mar 10
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19596)

I think this is ready


Reply to this email directly, view it on GitHub.

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

Foxe Chen

unread,
Mar 11, 2026, 7:06:47 AM (yesterday) Mar 11
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 0a1b64a add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/a801b6b82f40ec80e815c8354b80870399c3c275/after/0a1b64ab74303e5f49024dbd231219b2f4c5e473@github.com>

Foxe Chen

unread,
Mar 11, 2026, 7:38:15 AM (yesterday) Mar 11
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 43bcdde add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/0a1b64ab74303e5f49024dbd231219b2f4c5e473/after/43bcddef34cec50637777db30169d144dd4f9f33@github.com>

Foxe Chen

unread,
Mar 11, 2026, 7:47:29 AM (yesterday) Mar 11
to vim/vim, Push

@64-bitman pushed 1 commit.

  • fa3769e add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/43bcddef34cec50637777db30169d144dd4f9f33/after/fa3769ef70654a8ceabbec79b2eb204f36ae04a4@github.com>

Foxe Chen

unread,
Mar 11, 2026, 7:48:41 AM (yesterday) Mar 11
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 9091462 add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/fa3769ef70654a8ceabbec79b2eb204f36ae04a4/after/9091462fe02ea9cacbdf284c580deacab284a085@github.com>

Foxe Chen

unread,
Mar 11, 2026, 8:33:53 AM (yesterday) Mar 11
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 26e9c29 add support for in-band winodw resize events

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/before/9091462fe02ea9cacbdf284c580deacab284a085/after/26e9c296bb868c822abb2a19685269297d1ef8ab@github.com>

Christian Brabandt

unread,
Mar 11, 2026, 4:14:08 PM (21 hours ago) Mar 11
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19596)

Thanks


Reply to this email directly, view it on GitHub.

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

Christian Brabandt

unread,
Mar 11, 2026, 4:14:16 PM (21 hours ago) Mar 11
to vim/vim, Subscribed

Closed #19596 via c970b47.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19596/issue_event/23483763842@github.com>

Reply all
Reply to author
Forward
0 new messages