Closed mdietrich16 closed 2 weeks ago
We need people, so you're more than welcome to help us to improve this.
PRs are always welcome!
Well, seeing that I have never worked with the intrinsics of this project, I would need some pointer as to what and where to look to try to improve this, as I said. But other than the first steps, happy to help!
Yes, same for erase line, eg:
print('Hello','\x1b[2K\rBye')
Should print 'Bye' and not 'Byelo'.
It does work on a windows terminal (both with python & ipython).
Can I ask what's the status of this issue? Is it hard to fix?
It shouldn't be too hard to fix, we just haven't had time to sit down and do it.
Could you please give me some pointers so I can take a crack at it? I don't know where to start.
Our ANSI processor is implemented here:
https://github.com/jupyter/qtconsole/blob/master/qtconsole/ansi_code_processor.py
I am using the jupyter qtconsole through spyder, but I have tested the following in a standalone console aswell.
I know that certain ANSI escape sequences are being parsed, like simple colors and TrueColors, but is it possible to use stuff like '\027[A' (cursor up) or implement it myself?
I'm not very profound in stuff like this, but if I could get a little nudge in the right direction I might be able to at least help myself if it is not overly complicated and hard to pull off.
Oh, and I saw that line 27 in ansi_code_processor.py actually says
# FIXME: Not implemented in AnsiCodeProcessor.
So do you just need people or good ideas, because I would happy to fix the first :)