Hi, Racket Discourse.
I am busy fiddling around with a command-line script, and I am wondering what I am doing wrong with the "dynamic" display to the terminal's output. I am running on a kali linux
instance, for what it is worth.
Below is an example of the code for and running of the animated text:
Which is required and started from the main script.
This works fine and has the intended effect. Now I would like to add the number of seconds and minutes the particular command has been busy, but the "backspace" character-method from the above does not seem to work all the way.
Notice in the output how the leftover 01
s remain there after the okay
when waiting ends:
I can imagine that the #\backspace
s might not be doing what I expect, since text can be tricky to say the least.
How do you usually do dynamic text animations in Racket cli applications?