chrissimpkins / glue

Glue is a plugin that joins your shell to Sublime Text in quasi-perfect harmony.
http://gluedocs.readthedocs.org/
MIT License
254 stars 10 forks source link

Special Characters Being Displayed in Output #5

Open chrissimpkins opened 10 years ago

chrissimpkins commented 10 years ago

It looks like there are some "ESC" characters when the output is supposed to be colored, I'm not sure whether it's Grunt's fault:

Glue with ESC characters

It looks like this in the terminal:

Terminal with colors

Reported by @bfred-it

chrissimpkins commented 10 years ago

here is a man page shot with it as well:

manpage-screen

isyara commented 10 years ago

Me too (i'm under Windows 7 x64)

chrissimpkins commented 10 years ago

Trying to figure out what the characters are that are returning. Please post any example Windows applications that are doing this so that I can look into those as well.

Thanks much for reporting it.

chrissimpkins commented 10 years ago

8 has additional examples of output from Windows Powershell that require some text replacement loving before output to user.

chrissimpkins commented 10 years ago

partially fixed in v0.9.3 release where carriage returns are eliminated.

workaround for manpage backspace characters is to pipe to the col utility:

man whoami | col -bx