anthonyalmarza / chalk

Light-weight python package for terminal output in color
MIT License
67 stars 3 forks source link

use os.linesep #2

Closed livibetter closed 10 years ago

livibetter commented 10 years ago

I find using \n\r is kind of inappropriate for all OSes since on POSIX, \n is and should be all you need.

So, maybe it's better to use os.linesep. I could submit a pull request, but the order is different, os.linesep is \r\n not the same order in current code, not sure if there would be side-effect, if I just use it.

If you want, I could still open a PR.