24-bit colour
Add the following to ~/.tmux.conf
, replacing $TERM
with the value of that variable outside of tmux:
# Enable 24-bit colour
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",$TERM:RGB"
If you're running macOS, make sure you work around its broken curses and terminfo.
Backlinks