mirror of
https://github.com/restic/restic.git
synced 2025-05-19 00:28:18 +00:00

The windows cmd shell is not aware of ANSI escape sequences and does print them uninterpreted to the console. This is ugly. Added a function to generate platform specific string for the escape sequence. On Windows this will be 79 white spaces with a trailing \r.