My name is Rodmund, and I come from far away.
My country is called Thiuda; or at least we call it that, but our neighbors - that is, our enemies - call it by different names: Saksa, Nemet, Alaman.
My name is Rodmund, and I come from far away.
My country is called Thiuda; or at least we call it that, but our neighbors - that is, our enemies - call it by different names: Saksa, Nemet, Alaman.
What a rabbit hole. Even though #Cappa uses #Rich internally, forcing colors with `FORCE_COLOR=1` did not work.
After a super painful investigation, turns out my #Python code imports a module from #Copier which uses `colorama.init()`.
Changing that to `colorama.just_fix_windows_console()` fixed it, but the output still had an extra reset sequence at the end.
Turns out Copier imports #Plumbum colors module, which registers a function to reset styles at exit.
Don't run things at import time!
#Plumbum: shell combinators library