Code: Select all
~/Escritorio/programacion$ java Prueba
Escribe algo
^[[D^[[C^[[D^[[C^[[B^[[B^[[B^[[A^[[A^[[A^[[C^[[D^[[B^[[D^[[A^[[C^[[D^[[B^[[A^[[C^[[D^[[B^[[A^[[C^[[B^[[D^[[C^[[A^[[D^[[B^[[D^[[A^[[B^[[C^[[D^[[B^[[A^[[C^[[D^[[B^[[C^[[D^[[B^[[D^[[A^[[C^[[B^[[D^[[A^[[B^[[C^[[D^[[A^[[B^[[C^C
Code: Select all
python3 prueba.py
Escribe algo Hello this is an example^[[D^[[D^[[D^[[D^[[D^[[D^[[C^[[B^[[D^[[A^[[C^[[B^[[D^[[A^[[C^[[D^[[A^[[B^[[D^[[C^[[A^[[D^[[B^[[D^[[D^[[C^[[B^[[D^[[A^[[C^[[D^[[B^[[C^[[A^[[D^[[B^[[C^[[B^[[D^[[A^[[C^CTraceback (most recent call last):
File "/home/lagt/Escritorio/programacion/prueba.py", line 1, in <module>
a = input('Escribe algo')
KeyboardInterrupt