You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to migrate from Tmux to this simpler tool, but I am facing problems with 256 color support. Can anyone help me troubleshoot this?
To test the color support I am using (x=\`tput op` y=`printf %76s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done) from ArchWiki.
What I get looks like this:
This works fine outside DVTM.
I am running this test in Xterm 361 while using Bash 5.0.18. DVTM version is 0.15. I test this by launching Xterm and running the test (it works fine). Then from that shell I launch dvtm and run the test inside it (it looks bad).
For the sake of simple troubleshooting I reduced my configs as much as possible.
What's the value of the env. variable $TERM inside dvtm? If it's not dvtm-256color, you could try setting that before running the colour test script. That terminfo should be available on arch.
If it works, you should export DVTM_TERM=dvtm-256color from your shell config to persist that change. See the man-page section titled ENVIRONMENT VARIABLES.
I am trying to migrate from Tmux to this simpler tool, but I am facing problems with 256 color support. Can anyone help me troubleshoot this?
To test the color support I am using
(x=\`tput op` y=`printf %76s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done)
from ArchWiki.What I get looks like this:
This works fine outside DVTM.
I am running this test in Xterm 361 while using Bash 5.0.18. DVTM version is 0.15. I test this by launching Xterm and running the test (it works fine). Then from that shell I launch
dvtm
and run the test inside it (it looks bad).For the sake of simple troubleshooting I reduced my configs as much as possible.
.bashrc: empty
.profile: doesn't exist
.Xresources:
With my custom .Xresources file, the test stops changing color at number 209 instead of 204. It might be hint something, I don't know.
EDIT: This definitely isn't a bug, it works on a different Debian based system in my vicinity. So I am just asking for help with troubleshooting.
The text was updated successfully, but these errors were encountered: