sn6uv <[email protected]> added the comment:

Workaround: wrap the ANSI colour sequences in \001, \002

For the example above
>>> raw_input('\001\033[31m\002>>> \001\033[39m\002')

Confirmed for 2.1.0 also:
$pypy --version                                                  ~
Python 2.7.3 (480845e6b1dd219d0944e30f62b01da378437c6c, Aug 08 2013, 17:02:19)
[PyPy 2.1.0 with GCC 4.8.1 20130725 (prerelease)]

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1491>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to