mirror of
https://github.com/restic/restic.git
synced 2025-04-25 22:50:48 +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.