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

"bad colour" #4

Closed
bukzor opened this issue Jan 16, 2014 · 2 comments
Closed

"bad colour" #4

bukzor opened this issue Jan 16, 2014 · 2 comments

Comments

@bukzor
Copy link
Contributor

bukzor commented Jan 16, 2014

I get errors when trying to use your dark or light themes. My tmux version is probably older than yours. Or something.

$ tmux -V
tmux 1.5

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-256.conf 
(no output, works fine)

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf 
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 9: bad colour: brightblue
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 14: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 20: bad colour: brightgreen
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 24: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-dark.conf: 28: bad colour: brightred

$ tmux source /nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf 
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 9: bad colour: brightyellow
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 14: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 20: bad colour: brightcyan
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 24: bad colour: brightred
/nail/home/buck/trees/tmux-colors-solarized/tmuxcolors-light.conf: 28: bad colour: brightred
@bukzor
Copy link
Contributor Author

bukzor commented Jan 16, 2014

I used the below reference to translate these names to ansi indexes, but the results are pretty poor.
Note that the actual colors resulting from these names varies widely across environments, and in modern terminals can be completely configured by the user, meaning that the quality of results will also vary widely.

For consistent results, these entries should be converted to use the higher (>16) range of colors.

http://en.wikipedia.org/wiki/ANSI_escape_code#Colors

@seebi
Copy link
Owner

seebi commented Jan 16, 2014

You are right ...

∴ tmux -V
tmux 1.8

@seebi seebi closed this as completed Jan 16, 2014
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

2 participants