1 | initial version |
The process for adding several colors to the title of a tmux pane involves using escape sequences to set the colors. Here are the steps:
Ctrl + b
, release it and then press Shift + :
to enter tmux command mode.set -g pane-border-format "\033[COLOR1;COLOR2;COLOR3m#{pane_title}\033[0m"
, where COLOR1
, COLOR2
, and COLOR3
are the color codes you want to use. You can find a list of color codes here: https://en.wikipedia.org/wiki/ANSIescapecode#ColorsNote: If you want to add colors to the prefix of the tmux pane (e.g. the session name), use the status-format
option instead of pane-border-format
.