Comments (10)
I am indeed on X11. Let me try it on my other laptop I have sway/wayland installed give me a few mins 👍
from eza.
@draptik it seems you are right
So I mostly SSH into that laptop so i hadn't actually setup tmux w/ alacritty how I had it on this one. I configured it properly and the fix for the background worked, but it looks very much like your screenshots. Those colors aren't working, it is indeed somehow a wayland thing.
So it just so happens, I literally rewrote most of the color-scale feature today. I am going to do some experimenting, but I doubt this is actually in our control. I'll ping you if I learn anything new 👍
from eza.
@PThorpe92 thanks for the quick update!
I would have never guessed this being a wayland-thing.
In case you need somebody to double-check results: Just ping me!
from eza.
This clearly looks like a tmux color handling error as we dont have any code that specifies if that term do this please send this error to tmux and keep us updated, you can close this if you want or refer it in the tmux issue
from eza.
OK, thanks for the quick feedback @MartinFillon !
I'll try to get some infos from tmux and report back if I there's anything relevant.
from eza.
according to @PThorpe92
yeah tmux you have to have $TERM = xterm-256color in your env. i'll bet they are using alacritty
from eza.
@draptik https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
check this out, even though it is neovim related, it should help out.
from eza.
@MartinFillon @PThorpe92 thanks for the pointers!
I've dumbed down my ~/.tmux.conf
and ~/.config/alacritty/alacritty.yml
to the examples provided in the gist.
The bash-24 script shows the correct colors in all terminals (alacritty, kitty, gnome-terminal). Also in tmux, in all terminals.
This screenshot shows alacritty with tmux:
This screenshot shows alacritty without tmux:
I am at a loss what to try next. Any ideas? I'm still testing different permutations from the comments in the gist, but I'm not feeling lucky.
from eza.
Ok so I had recently moved to wezterm, but I just tried out Alacritty again and it does indeed work with tmux.
.tmux.conf
set -g default-terminal "${TERM}"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
set -ga terminal-overrides ",*256col*:Tc"
alacritty.yml
env:
TERM: xterm-256color
Maybe give that a go?
from eza.
@PThorpe92 Mmh, this is strange. Still no luck, even when using your configs.
Which other environment variable might be involved? This should not be a X11/Wayland issue, right? I'm on Wayland, in case that matters.
from eza.
Related Issues (20)
- bug: pr template isn't auto-populated HOT 2
- Bug: `idump` give different output even without any modification, on Debian
- feat: Allow abbreviations for long option names HOT 1
- Wessss up on
- How to default -t to modified -r
- bug: Problems with man pages HOT 2
- feat: In tree view, the branch child contents should line up with the parent's first symbol
- bug: eza ignores LC_TIME and always shows dates in English (deb.gierens.de build only) HOT 7
- Apple Silicon Builds HOT 1
- feat: Plugin support HOT 3
- feat: dynamic navigation of tree HOT 1
- bug: unset permission bit "invisible", customizing color for that bit has no effect if unset
- bug: incorrect display of `eza -T --absolute /full/path` HOT 2
- feat: Formatted hyperlinks HOT 2
- Few eza icons different compared to exa icons
- feat: Allow skip check if dir is full or empty for icons
- feat: Adjustable Column Spacing
- bug: Different file sizes are shown by eza and ls commands HOT 1
- bug: Sort function not work very well with hungarian letters HOT 2
- feat: Adding Emacs Dired Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eza.