2

My input code is:

import readline
readline.parse_and_bind('tab: complete')
readline.parse_and_bind('set editing-mode vi')

while True:
     c = input('INPUT> ')

(It is a little piece of test code to test readline.)

When i type abc ENTER Hello, World! ENTER and 2x arrow up instead of

INPUT>abc

It is INabc

Does anyone know how to fix this?

(I already tried commenting out the readline.parse_and_bind's I also use updated python3 and updated my readline using pip3, which also it up to date. And my readline is for python3. And everything is up to date!)

0 Answers0