Closed leafac closed 7 months ago
Sorry for the wait! I've been quite slow in catching up with my GH notifications.
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
I'd like to assign myself this issue if that's okay
go for it!
did this change go in?
This should be closed now
First of all, thanks for autocannon. Iβm starting to use it and liking it π
Iβve noticed two formatting issues when piping the output of autocannon into a file.
Issue 1
autocannon prints the control characters that would have made a terminal use different colors. For example:
output.txt
I suppose that autocannon could detect that it isnβt printing to the terminal and omit the control characters.
Issue 2
The documentation says that the
--json
option βwill cause the progress bar and results not to be rendered.β But that doesnβt seem to be the case for meβIβm getting the results and some JSON at the end. For example:output.txt