tmux vim colorscheme issue starting with 3.3-rc

18 views
Skip to first unread message

Alexander Bieser

unread,
Oct 12, 2021, 3:57:54 AM10/12/21
to tmux-...@googlegroups.com
Hi,

I use tmux (in putty) several hours each working day. Thanks for
development, I like it a lot.

Issue:
Vim has :colorscheme slate and I edit python files.
In 3.2 everything is ok.
Starting with 3.3-rc the colors have changed from yellow numbers to red ones.
If I exit tmux or use 3.2 again, everything looks good again (yellow numbers).

Maybe there is a bug?

Thanks,
Alexander

Nicholas Marriott

unread,
Oct 12, 2021, 5:13:10 AM10/12/21
to Alexander Bieser, tmux-users
New versions will set default-terminal based on what your system supports, probably it is now set to tmux-256color or screen-256color instead of screen.

--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CACjjz84jDnH4rCjvp3mOY87y%2BMwPcrE3g%2BmkYgJWqe1g%2B3DGWQ%40mail.gmail.com.

Alexander Bieser

unread,
Oct 12, 2021, 6:31:46 AM10/12/21
to Nicholas Marriott, tmux-users
#> env | grep -i term

Before starting tmux (in putty):
WINDOWMANAGER=xterm
COLORTERM=1
TERM=xterm

Inside tmux:
WINDOWMANAGER=xterm
COLORTERM=1
TERM_PROGRAM=tmux
TERM_PROGRAM_VERSION=3.2
TERM=screen
--------------------------
WINDOWMANAGER=xterm
COLORTERM=1
TERM_PROGRAM=tmux
TERM_PROGRAM_VERSION=3.3-rc
TERM=screen-256color

I worked around the issue by adding this to my tmux.conf:
set -g default-terminal "xterm"

Am Di., 12. Okt. 2021 um 11:13 Uhr schrieb Nicholas Marriott
<nicholas...@gmail.com>:

Nicholas Marriott

unread,
Oct 12, 2021, 6:32:42 AM10/12/21
to Alexander Bieser, tmux-users
Use screen like you did before, not xterm.
Reply all
Reply to author
Forward
0 new messages