I'm glad to see we all take the same approach to these sorts of things ^_^ self.move_cursor_to_top() sys.stdout.write(output_string) sys.stdout.flush()
Would there be a more canonical way do do this?
IIRC, ncurses does this under the hood.
81–90 of 279 posts
I'm glad to see we all take the same approach to these sorts of things ^_^ self.move_cursor_to_top() sys.stdout.write(output_string) sys.stdout.flush()
Would there be a more canonical way do do this?
IIRC, ncurses does this under the hood.
No "The Matrix" effect? That was one of the earliest programs I wrote back in 2000, and I was so proud of myself.
I can tell I'm too old now because I expected the Matrix projection to be in the first four examples and it's not even on the page.
Very subtle uses of this could go a long way.
Earlier quoted context omitted.
Imagine that the CLI tool you use most often every day - a compiler, a package manager, like that - adds animations like these in common operations. Now you have to wait for the animation to finish before you can continue your work. How do you feel about that?
It’s trivial to add in a keypress that short circuits the animation. God, this website is full of the grumpiest people on the planet.
No "The Matrix" effect? That was one of the earliest programs I wrote back in 2000, and I was so proud of myself.
I can tell I'm too old now because I expected the Matrix projection to be in the first four examples and it's not even on the page.
Earlier quoted context omitted.
I can tell I'm too old now because I expected the Matrix projection to be in the first four examples and it's not even on the page.
I was hoping for the "no more secrets" effect. https://www.youtube.com/watch?v=F5bAa6gFvLs
I'll see what I can do.
I integrated this[1] with my MOTD on ssh login.. :) With random effect each time. 1: https://keeb.dev/static/login.mp4