I am trying to write small cli tool in vanilla swift and currently face the problem that I have to rewrite a line (think of refreshing a progress bar) or ideally multiple lines (think of htop
that automatically refreshes multiple lines / the whole screen).
Is there any Apple framework that I might be missing that can already handle this ? Is this somehow achievable with the default print()
command ?
Thanks everyone for your help!