tinted-theming / tinted-shell

Base16 and Base24 for Shells
https://github.com/tinted-theming/home
MIT License
61 stars 218 forks source link

NCurses programs break colors #21

Closed paradox460 closed 8 months ago

paradox460 commented 1 year ago

Describe the bug

Using an ncurses based program, such as tig or ranger, will break the colors when you return to your normal terminal. Colors can be restored by running the appropriate base16- command again

Expected behavior

The colors should not break when exiting an ncurses app

System

Operating system: MacOS 12.6

Terminal:

Additional context

This does not happen if the TERM is set to something like xterm-new

JamyGolden commented 1 year ago

I tried this on a Linux machine with both the default terminal and Alacritty but didn't notice this issue. I'll test this out on my mac later this week. @paradox460 should I have run into the error you mentioned above in this gif:

no-tig-theme-problem.webm

JamyGolden commented 1 year ago

I've tested this out on MacOS in fish shell and don't have these issues.

JamyGolden commented 8 months ago

Closing due to lack of activity, we can open it again if you want to.