pier icon indicating copy to clipboard operation
pier copied to clipboard

ansi codes don't display right in an emacs shell

Open simonmichael opened this issue 7 years ago • 1 comments

Usually basic ansi colors etc. work in an emacs shell window after doing M-x ansi-color-for-comint-mode-on, but not so with pier's current output, which appears like:

^[]0Starting...^G^[]0;1s (85%)^G^[]0;1s (85%)^G^[]0;Finished^GBuild completed in 0:13m

simonmichael avatar May 23 '18 16:05 simonmichael

@simonmichael those outputs are printed directly from Shake, so it sounds like an issue with that library rather than Pier itself. Could you file a ticket at https://github.com/ndmitchell/shake?

In the meantime you should be able to use pier build --shake-arg=--no-color to suppress the control characters.

judah avatar Sep 05 '18 18:09 judah