dokku / dokku-daemon

A daemon wrapper around dokku
MIT License
32 stars 13 forks source link

Escape double quotation and remove (color/special/escape/ANSI) codes #22

Closed lostb1t closed 6 years ago

lostb1t commented 6 years ago

Still ugly ofcourse, but in terms of streaming invalid json this will be a bit better.

josegonzalez commented 6 years ago

I think the codes issue cna be fixed by setting the terminal to dumb instead of unknown, which also fixes tput?

lostb1t commented 6 years ago

Well tried that, but got some unexpected results on some commands like redis:help. (false status response) Maybe dumb terminal is too limited? ill see if i can track down why dumb fails on some commands

lostb1t commented 6 years ago

it seems dumb terminal either works and outputs some subset of color or control codes. Or just breaks with other. So this still seems like a valid solution to me.