When I use tmux, I use x to kill a window and then the message shows up. However, the color of the message is black, which is similar to my background and makes it hard for me to distinguish. Does anyone know how to change that? Thank you!

Message and Background

System: Macos Shell: zsh Background: OceanicNext Minimal .tmux.conf:

set -g status
set -g status-fg white
set-option -g default-terminal $TERM
set -g mouse on
set -g status-position bottom
set -g status-justify left
set -g status-left ''
set -g status-right '#{prefix_highlight} #{weather} #(tmux-spotify-info)#[fg=colour8,bg=default] %m/%d #[fg=colour8,bg=default] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-style 'fg=colour15 bg=default bold'
setw -g window-status-style 'fg=colour87 bg=default'
set status-bg default

You need to change message-style to something more suitable to your status line or terminal background colour.

  • Thank you! It solved my problem. – 刘俣杉 Nov 30 '19 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.