From a73f953992da773deb2a5e043ba574f1a4d9b046 Mon Sep 17 00:00:00 2001 From: Julian Montez Date: Tue, 8 Sep 2026 18:23:58 -0400 Subject: [PATCH] Clear the tmux prompt area so typed commands don't collide with the bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tmux 3.7 draws the command prompt on top of a copy of the existing status line (status.c: status_prompt_redraw) and blanks the area only via the `fill` attribute of message-style. The stock default carries it (bg=yellow,fg=black,fill=yellow); our override dropped it, so dotbar's session name bled through whatever was being typed — prefix + `:` rendered as ":main", and rename-window read as "(rename-window) zshn". Add fill=colour0 to match the bar background. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01AEPYeZgMsmFPVBbRvkFtM2 --- tmux/.tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index f16a582..f7de8c2 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -82,7 +82,10 @@ set -g set-titles-string '#{pane_title}' set -g pane-border-style "fg=colour8" set -g pane-active-border-style "fg=colour4" set -g popup-border-style "fg=colour4" -set -g message-style "fg=colour4,bg=colour0" +# fill= is what clears the prompt/message area. Since tmux 3.7 the prompt is +# drawn on top of the existing status line and only the fill attribute blanks +# it; without it dotbar's session name shows through what you type (":main"). +set -g message-style "fg=colour4,bg=colour0,fill=colour0" # dotbar's own window format paints the background, so anything left on this # style (e.g. an old highlight block) only shows through and collides with the