carriage return (\r) in printf()
Max Alekseyev <[email protected]> Fri, 19 Sep 2025 13:30:34 -0400
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CAJkPp5PrTBDmxFVyuUOhH8Ym0v8aVKB59b=QLhCM-2VbBZieug@mail.gmail.com> |
Hello,
I've just noticed that printf() does not support carriage return character
\r - can it be added?
Example:
? printf("123456\r000") \\ does not work as expected
123456r000
? printf("123456%s000",Strchr(13)) \\ workaround with expected output
000456
Thanks,
Max