[vim/vim] ":silent make" leaves the window blank until CTRL-L (PR #21329)

4 views
Skip to first unread message

h_east

unread,
Sep 16, 2026, 11:39:15 PM (2 days ago) Sep 16
to vim/vim, Subscribed
Problem:  After ":silent make" or ":silent grep" the window stays blank
          until the screen is redrawn by hand.
Solution: Ask wait_return() for the redraw even when messages are
          silent.  It skips the hit-enter prompt for ":silent" on its
          own, so the argument "msg_silent == 0" only took away the
          set_must_redraw(UPD_CLEAR) that draws the window again.

related: #529


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

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

Commit Summary

  • 7ad7df9 ":silent make" leaves the window blank until CTRL-L

File Changes

(3 files)

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/21329@github.com>

Christian Brabandt

unread,
Sep 17, 2026, 3:43:53 PM (14 hours ago) Sep 17
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#21329)

Hm, I am not sure, this is a behavioral change. It is true that currently this: :sil !seq 1 10 when Vim switches screens (e.g. t_ti and t_te are not empty) or in a GUI, does not make much sense, e.g. it redraws after the command finishes and you do not see the command output. But on the other hand try this in terminal vim: vim --clean -c 'set t_ti= t_te=' and once Vim is started run :sil !seq 1 10. You'll see the command output without a hit-enter prompt. This is no longer possible with this patch.

So I think we should do this either when GUI is running or when switching screens is enabled. Or only when we are running :make (or :grep)?


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/21329/c5720200844@github.com>

h_east

unread,
12:15 AM (5 hours ago) 12:15 AM
to vim/vim, Subscribed
h-east left a comment (vim/vim#21329)

Fixed.


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/21329/c5725055798@github.com>

Reply all
Reply to author
Forward
0 new messages