View previous topic :: View next topic |
Author |
Message |
ManDay Apprentice
Joined: 22 Jan 2008 Posts: 246
|
Posted: Tue Jun 01, 2021 7:18 am Post subject: The correct configuration for alacritty and tmux color? |
|
|
Since I accidentally deleted my tmux configuration, I found myself revisiting the problem of colors in terminals, specifically using alacritty (which does install a terminfo file and exports TERM=alacritty COLORTERM=truecolor).
To keep things simple (yet too complicated for me to figure out, I appears), I focus on getting things to work right in just 3 applications:
kakoune (editor)
weechat (irc)
bash (the prompt and `ls`)
And out of the box, pretty much everything is broken:
weechat in alacritty shows a reduced palette (no boldface)
bash in alacritty shows no colors at all
kakoune in alacritty looks fine
weechat in alacritty/tmux looks good
bash in alacritty/tmux looks good
kakoune in alacritty/tmux shows no colors at all
Setting "default-terminal alacritty" in tmux such that it changes TERM makes things look like outside of tmux. I tried various other combinations but in the end, there is always one or two of the three which don't show correctly.
Is there a proper, consistent solution for that (preferablly where the truecolor cap of alacritty is propagated properly)? Should this be filed as a bug on which of the programs? Is this unfixable or is there a workaround? |
|
Back to top |
|
|
fireficus n00b
Joined: 16 Nov 2021 Posts: 1
|
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Sat Jan 08, 2022 10:26 pm Post subject: |
|
|
Another option is to just change the TERM in Alacritty config:
~/.config/alacritty/alacritty.yml: | env:
TERM: xterm-256color |
|
|
Back to top |
|
|
|