Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not tmux-256color? #69

Open
ming-hao-xu opened this issue Jan 15, 2024 · 3 comments
Open

Why not tmux-256color? #69

ming-hao-xu opened this issue Jan 15, 2024 · 3 comments

Comments

@ming-hao-xu
Copy link

Now it is

# Upgrade $TERM
set -g default-terminal "screen-256color"

but why not

# Upgrade $TERM
set -g default-terminal "tmux-256color"

tmux color term enables italic font and ensure more color consistency with xterm-256color which is usually the case outside tmux.

@geoffreyvanwyk
Copy link

geoffreyvanwyk commented Apr 16, 2024

Your suggestion is certainly sensible because it is supported by the tmux wiki: https://github.com/tmux/tmux/wiki/FAQ#i-dont-see-italics-or-italics-and-reverse-are-the-wrong-way-round, and by my experience.

@trappmartin
Copy link

When used in conjunction with fzf the current setup results in a common fzf issue: junegunn/fzf.vim#1356 (comment)

Using set -g default-terminal "tmux-256color" instead resolves this. Might be worth to changes this.

@rifazn
Copy link

rifazn commented Aug 2, 2024

I'm new to tmux. Been using the default config only with a few changes made to it. Though, I'm glad to have found this, even I was wondering why it gets set to screen-256color when the default tmux-256color has been working tip top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants