wezterm > tmux > nvim colors not forwarded through tmux correctly
0
votes
1
answer
901
views
I'm currently having the problem that the colors are not forwarded correctly from nvim through tmux to wezterm. I think
* And these are the colors when I invoke
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
is to blame since the colors work like expected when I invoke nvim
from wezterm
directly. Compare this:
* This is wezterm
-> tmux
-> nvim
:

wezterm
-> nvim
directly:

.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
Asked by glades
(117 rep)
Jul 18, 2024, 04:14 AM
Last activity: Jul 24, 2024, 09:33 AM
Last activity: Jul 24, 2024, 09:33 AM