Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's quite a pain though to get console coloring to work properly on Windows. I wrote a utility once that batch scripts could call to set the fore/background color (just a call to SetConsoleTextAttribute() really) but in practice it's quite a pain to write scripts that color their output properly (especially once you start mixing languages of those scripts). The terminal-emulator-that-interprets-escape-sequences-as-color-change-commands is much easier for that purpose.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: