Marco Franzo added the comment:
So, I use Ubuntu 20.10 and the terminal
is the one distributed with the system.
I think this problem born in my code here:
def generate_input():
while True:
str = input().strip()
yield helloworld_pb2.Operazione(operazione = str)
I think
New submission from Marco Franzo :
It would be better to write at the end of the program this:
os.system('stty sane')
because when you import readline, at the end of program, the console remains
unusable
--
assignee: docs@python
components: Documentation
messages: 384379