Visual Styling
tmux provides quite a few ways to customize your environment’s appearance. In this section, we’ll walk through configuring some of these options, as we customize the status line and other components. We’ll start by configuring the colors for various elements, then we’ll turn our bland status line into something that will provide us with some vital information about our environment.
Configuring Colors
To get the best visual experience out of tmux, make sure that both your terminal and tmux are configured for 256 colors.
Using the tput command, you can quickly determine the number of colors supported by your terminal session. Enter the command
| $ tput colors |
| 256 |
into your terminal. If you don’t see 256 as the result, ...
Get tmux 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.