litmus_paper icon indicating copy to clipboard operation
litmus_paper copied to clipboard

Allow disabling color output for terminal status (GET "/") with query param

Open 2rs2ts opened this issue 2 years ago • 0 comments

Since color codes can mess with tools like awk, a query parameter to disable the colorizing should be added to the API for the root resource. Something like curl http://mylitmushost/?color=false should result in no colorization. This will eliminate the need to strip color sequences out with something like sed.

2rs2ts avatar Oct 20 '22 22:10 2rs2ts