omerxx / dotfiles

My dotfiles synced form localhost and remote machines
https://dotfiles.omerxx.com
956 stars 87 forks source link

Why do you use screen-254color on tmux? #4

Closed bavulapati closed 7 months ago

bavulapati commented 8 months ago

https://github.com/omerxx/dotfiles/blob/6beb165acb2141cbcf1577a369d1205a8bb333f6/tmux/tmux.conf#L2C33-L2C48

What's the impact?

bavulapati commented 8 months ago

Not sure if this is right place to ask? I'm reading your tmux configuration and did not find much about 254 colour on the internet.

JZsmitty commented 8 months ago

Not sure if this is right place to ask? I'm reading your tmux configuration and did not find much about 254 colour on the internet.

This is likely a typo, or was possibly copied from a config somewhere that had this value. The only terminal colors I know of are 8, 16, 88, and 256. Tmux itself suggests that you only ever set the default value to screen-256color in its documentation.

Please see the TMUX fax here, which covers this exact setting. https://github.com/tmux/tmux/wiki/FAQ

bavulapati commented 7 months ago

thanks @JZsmitty