Skip to content

Latest commit

 

History

History

tmux

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

True color

To enable true color in tmux, add this to the config

# Assuming your terminal emulators outputs $TERM as "xterm-256color"
set -ga terminal-overrides ",xterm-256color:Tc"

Fix bold and italics on tmux

Assuming your terminal emulators doesn't have true color, this may become a problem. Certain emulators doesn't sit well with tmux and tmux would fail to display bold or italic text properly. This can be fixed by monkey patching the $TERM variable that tmux uses and create a terminfo for that specific $TERM.

Gnome terminal, Xfce terminal, xterm

Add the terminfo entry to the terminfo database using the provide terminfo file

tic tmux-256color-it.terminfo

Then uncomment the following line in .tmux.conf

# Enable colors and italics
#set -g default-terminal "tmux-256color-it"