4 ms·
sure, if you do coloring/bold/underline/inverse in the script, reset would be appropriate. but I wouldn't do it by default, because it's quite slow ('time reset
by eik3_de 13y ago
sure, if you do coloring/bold/underline/inverse in the script, reset would be appropriate. but I wouldn't do it by default, because it's quite slow ('time reset' takes 1s here)
- TorKlingberg 13y agoMy reset also takes suspiciously close to one second. Turns out it sleeps for one second at the end, probably to give the terminal time for something.
- shabble 13y ago"tputs reset" has much the same effect (I think; there are some cases I've noticed it not fully restoring things) without the delay.