nghung270192 / colorama

Automatically exported from code.google.com/p/colorama
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

IPython issues on windows (only) #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
On a windows box: 
1. pip install ipython
2. ipython (to open ipython shell)
3. import colorama
4. colorama.init()

Dorks up the prompt and a lot of other ipython output

Original issue reported on code.google.com by brif...@supercowpowers.com on 11 Aug 2014 at 9:03

Attachments:

GoogleCodeExporter commented 9 years ago
Many thanks for the report.

I don't have a Windows machine in my life ATM.

Patches with tests are welcome. Please maximise chance of smooth integration of 
patches by discussing them before/during working on it. Hugs.

Anyone submitting sane looking patches with tests will be granted commit rights 
for subsequent work.

Original comment by tart...@gmail.com on 12 Aug 2014 at 8:32

GoogleCodeExporter commented 9 years ago
Hi,

I did not find a solution but found others having the same issue:

http://comments.gmane.org/gmane.comp.python.ipython.devel/13262

Last comment suggests "colorama ... and pyreadline (which IPython does use) 
both try to interpret ANSI escape codes and ... they conflict in some way" [lot 
of text replaced by dots].

Starting 'ipython console' instead of ipython solves the garbled prompt but 
breaks colorama features for me. (I am using windows.)

Original comment by szell.an...@gmail.com on 24 Jan 2015 at 1:24