Strip ANSI
-
Revert siac path back to the absolute path, because Linux and specifically Windows machines seem to not respect the
cwd
value that's passed in. Unfortunately this means we get ugly messages in the terminal, instead ofsiac [command]
it would print/Path/to/app/siac [command]
. -
Strips ansi from the text before appending and rendering to DOM. This fixes issues with characters misprinting on windows.