microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.
https://microsoft.github.io/TypeChat/
MIT License
8.06k stars 378 forks source link

Use readline for interactive input #235

Closed gvanrossum closed 2 months ago

gvanrossum commented 2 months ago

Importing the readline module and using input() instead of sys.stdin turns on command line editing, including history. For a REPL dinosaur like myself this is essential. :-)

DanielRosenwasser commented 2 months ago

Thank you!