On 03.03.2019 14:07, Jonathan Guy wrote:
> Hi all
>
> Just out of curiosity in notify.c we have the two lines
>
> SVN_ERR(svn_cmdline_printf(pool, "\rChecking r             "));
> SVN_ERR(svn_cmdline_printf(pool, "\rChecking r%ld...", n->revision));
>
> Is there a specific reason \r is used and not \n?

Yes. \r is the carriage-return control code. If your screen were a
teletype, it would do something like this:

https://www.youtube.com/watch?v=UxKqOdQx-9k

-- Brane

Reply via email to