tmux $TERM "tmux-256color" for visidata dot plots
dblume

dblume commited on 2024-04-25 23:34:56
Showing 1 changed files, with 1 additions and 1 deletions.


If $TERM is only "tmux" then VisiData (vd) doesn't
use as many colors as it can, easily demonstrated with
AirPassengers.csv
... ...
@@ -69,7 +69,7 @@ setw -g window-status-current-format '#{?#{!=:#{session_windows},1},#I:#W:,}#[fg
69 69
 setw -g window-status-format '#[fg=colour241]#I:#W#[default]'
70 70
 
71 71
 # This allows neovim's hi htmlItalic (also used by markdown) to use italic font
72
-set -g default-terminal "tmux"
72
+set -g default-terminal "tmux-256color"
73 73
 
74 74
 # prefix, C-Arrow doesn't work from PuTTY. Needs TERM to be xterm
75 75
 set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"
76 76