Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to change the color of the tmux status bar in command mode or "highlight" mode? #3887

Closed
hq6 opened this issue Mar 16, 2024 · 4 comments

Comments

@hq6
Copy link

hq6 commented Mar 16, 2024

Issue description

When I type Prefix-: inside tmux to start typing a command, tmux changes the color of the status bar to dark yellow.
A similar effect happens if I push Prefix-, to change the name of a window.

While fine on a normal monitor, I've recently started using an E-Ink monitor, and the highlight color makes the status bar completely unreadable when I'm trying to type into it.

Is it possible to control the color that the status bar changes into?

I've searched through the manual as well as the web, and haven't found a way to configure this setting.

I'm currently looking through the source but I have not found yet found where the color is emitted.
If the answer is that there is a no configuration for this, a pointer to the source line that sets this color would be greatly appreciated, so I can rebuild tmux with this highlight color changed.

Required information

Please provide the following information:

  • Tmux version: I have tested this behavior tmux next-3.5 as well as tmux 3.0a.
  • Platform (uname -sp): Linux x86_64
  • $TERM inside and outside of tmux (echo $TERM): Outside tmux is xterm-256color. Inside tmux is screen.
  • Logs from tmux (tmux kill-server; tmux -vv new). Attached.
    tmux-out-291328.log
    tmux-server-291328.log
    tmux-client-291326.log
@nicm
Copy link
Member

nicm commented Mar 16, 2024

message-style

@hq6
Copy link
Author

hq6 commented Mar 16, 2024

Thanks, that fixed it!
It might be worth updating the man page to mention that this is also the "highlight" style or the style used when typing a command.

@hq6
Copy link
Author

hq6 commented Mar 17, 2024

Closing this since the question has been addressed.

@hq6 hq6 closed this as completed Mar 17, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants