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
xu-minghao317 opened this issue Jan 15, 2024 · 2 comments
Open

Why not tmux-256color? #69

xu-minghao317 opened this issue Jan 15, 2024 · 2 comments

Comments

@xu-minghao317
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.

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

3 participants