friendly-traceback / friendly

Friendly-traceback's version used in most situations
https://friendly-traceback.github.io/docs/index.html
MIT License
42 stars 5 forks source link

Friendly not using readline #17

Closed aroberge closed 3 years ago

aroberge commented 3 years ago

Originally reported in https://github.com/friendly-traceback/friendly-traceback/issues/80

===

On Debian typing, inside friendly, print←←←←← gives:

$ python -m friendly

friendly-traceback: 0.4.60
friendly: 0.4.26
Python: 3.9.8
Type 'Friendly' for help on special functions/methods.

[1]: print^[[D^[[D^[[D^[[D^[[D

I mean, if I hit my arrow keys, left, up, right, down, it prints ^[[A/^[[B/^[[C/^[[D instead of moving through history (for up/down) or inside the line (for left/right).

One can use rlwrap python -m friendly as a temporary fix.

aroberge commented 3 years ago

I believe that this is fixed now.