d99kris / nchat

Terminal-based Telegram / WhatsApp client for Linux and macOS
MIT License
524 stars 40 forks source link

Color themes are not properly applied even after setting TERM=xterm-256color #209

Closed Roopesh2 closed 11 hours ago

Roopesh2 commented 3 months ago

Description: When using other color schemes, except basic-color, the terminal shows a blue background

How to reproduce it:

Screenshots: basic-color works well Screenshot_20240322_223803 but dracula doesn't work as expected Screenshot_20240322_223850

Environment:

d99kris commented 2 months ago

Hi @Roopesh2 - thanks for reporting an issue. I will try to look into this to see whether it's something nchat can easily support, or whether I'll need to leave it out-of-scope. For time being the workarounds would be to use themes that use standard palette (i.e. not RGB 0x112233 values), or use another terminal. Based on some quick googling I believe this other issue describes the problem with using custom palette in ncurses apps in Konsole.

d99kris commented 11 hours ago

I have done some research on this, and it seems it's not trivial to support this. I will leave it out of scope for now and convert this issue to a feature request. Maybe some other developer with experience in this area like to contribute.