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

bluebanged by using Emacs on the tty #150

Open
amadalusia opened this issue May 30, 2024 · 7 comments
Open

bluebanged by using Emacs on the tty #150

amadalusia opened this issue May 30, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@amadalusia
Copy link

amadalusia commented May 30, 2024

What happened?

When using Emacs on non-GUI mode, it doesn't set the color for the background correctly and it sets the background to a blue color.
Bluebanged
This only happens on the TTY (I had to use fbcat and some NetPBM viewer to capture this..)

@NamesCode
Copy link
Member

Huh this is really odd, can you give information about the enviroment your running this in?

@amadalusia
Copy link
Author

I was running this on NixOS 24.05 with emacsPackages.catppuccin using the emacs-unstable package on emacs-overlay, and I was using the Frappé palette. I think thats about as much as I can get into without pointing out stuff that is irrelevant to the issue.

@jtbx jtbx self-assigned this Aug 4, 2024
@jtbx
Copy link
Member

jtbx commented Aug 4, 2024

I can reproduce this, I'll look into it later

@sgoudham sgoudham added the bug Something isn't working label Aug 5, 2024
@LeoAdL
Copy link

LeoAdL commented Aug 26, 2024

I had the same issue with Windows Terminal: turned out it was by default using only 256 colors... Switching to 24 bits colors as described here microsoft/terminal#6087 fixed the issue.

So this might just be related to using just 256 colors instead of the full 24 bits range.

@jtbx
Copy link
Member

jtbx commented Aug 26, 2024

Hmm alright, I think it might be related to the function catppuccin-quantize-color

@LeoAdL
Copy link

LeoAdL commented Aug 27, 2024

Great explanation of the mechanics: https://chadaustin.me/2024/01/truecolor-terminal-emacs/ Probably the dark violet background of catppuccin get translated to dark blue rather than black in 256 colors.

@amadalusia
Copy link
Author

Interesting, I might have been using a 16 bit color TTY since for me it appeared to be light blue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants