I'm currently having the problem that the colors are not forwarded correctly from nvim through tmux to wezterm. I think tmux is to blame since the colors work like expected when I invoke nvim from wezterm directly. Compare this:
This is
wezterm->tmux->nvim:And these are the colors when I invoke
wezterm->nvimdirectly:Here the colors are displayed correctly.
I read on reddit about users having a similar problem, however the solution doesn't work for me. Briefly, the solution suggests adding those two attributes to the .tmux.conf file:
.tmux.conf# Fix Colors set -g default-terminal "screen-256color" set -as terminal-features ",xterm-256color:RGB"
But when I do that nothing changes. Strangely, also tmux doesn't seem to detect wezterm correctly, I needed to add export TERM=xterm to my .bashrc (I believe TERM should be set by all terminal emulators to inform subshells about their capabilities?). Maybe the issue is related to this.
OS is Ubuntu 20.04/GNOME


tmuxfor? I just recently switched to wezterm, and it's completely replaced my (local) need fortmux