Open Satellile opened 1 year ago
I don't think there's enough context to know exactly what your issue is. (It sounds like this would be an issue with indicatif
, not console
, but it's hard to know without a minimum working example.)
However, I have a guess about what you're experiencing. The escape sequence \x1b[5m
tells the terminal to give any subsequent text the "blink" attribute. It's up to the terminal to decide how that's implemented, if at all. (Many terminals and terminal emulators just ignore this escape sequence.) So, you probably need to tweak the settings of your terminal, if you want blinking to be handled differently.
Using the "indicatif" crate, I have a progress bar set to blink. If the terminal window is focused, the blink works, but if another window is focused, the text won't blink. It will stay normal/dimmed until I click/alt-tab back into the terminal window.
Running on Windows 10.