martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.2k stars 258 forks source link

colors ruined after exiting vis #996

Closed spencermp closed 2 years ago

spencermp commented 2 years ago

https://user-images.githubusercontent.com/96401319/149607537-ec3e02f6-3c48-409a-a2d6-1094b7b63f7f.mp4

In this little video I run a script which prints the 256 colors, run vis, then exit. I'm using the vis gruvbox theme, and even after opening other TUIs the colors stay destroyed.

Is there a fix to this besides restarting my terminal?

spencermp commented 2 years ago

Fixed by building without ncurses, but in theory ncurses still shouldn't be doing stuff like that.