Not working with tmux
jfturcot opened this issue · 2 comments
I use this with hterm on Chrome, it works great (thanks a lot for this!), but once I run tmux, it goes back to the regular hterm colors and the script does not do anything if I run it again.
I run Solarized in Vim and it works fine when I am in tmux in hterm, so I don't think it is a configuration error in my .tmux file.
I tried to search for a solution for tmux and OSC 4, but I am really not familiar with OSC 4 and I couldn't find anything to help me. Please let me know if you know a quick fix for using this with tmux.
Thanks!
i can confirm this issue.
I am not a tmux user myself (I keep meaning to switch over from screen) but I believe that tmux has an issue similar to vim, in that it is an ncurses app, and one of the things curses does for whatever reason is resetting the screen to the default color palette. I haven't figured out why it does that yet.
For the moment, if you are trying to get a solarized-ish color scheme for tmux itself your best bet is to used the 256-color variant of seebi's tmux theme, found over here: https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf
I suspect you want to adjust the 16-color ansi palette that's used for shells within tmux though, and if that isn't working I currently do not know how to fix it.