[vim/vim] popup: terminal embedded in an opacity popup freezes Vim on input (PR #20220)

3 views
Skip to first unread message

h_east

unread,
May 14, 2026, 11:40:26 AM (yesterday) May 14
to vim/vim, Subscribed
Problem:  When a terminal buffer is shown inside a popup with 'opacity'
          set to a value other than 100, typing into it freezes Vim.
          Only the first keystroke is drawn; afterwards no input is
          processed and the screen stops updating.
Solution: When marking background lines for redraw to keep opacity
          blend cells fresh, do not raise must_redraw.  This marking
          happens from inside update_screen() (via
          may_update_popup_mask()), so raising must_redraw makes
          terminal_loop()'s "while (must_redraw != 0) update_screen()"
          loop never terminate.  Add redraw_win_range_now() that
          updates only the per-window state and use it from
          redraw_win_under_opacity_popup().

Fixes: #20214


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

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

Commit Summary

  • 76e5573 popup: terminal embedded in an opacity popup freezes Vim on input

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20220@github.com>

Christian Brabandt

unread,
10:54 AM (2 hours ago) 10:54 AM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20220)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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

Christian Brabandt

unread,
11:08 AM (2 hours ago) 11:08 AM
to vim/vim, Subscribed

Closed #20220 via f281493.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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

Reply all
Reply to author
Forward
0 new messages