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.25k stars 391 forks source link

Use readline for interactive input #235

Closed gvanrossum closed 7 months ago

gvanrossum commented 7 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 7 months ago

Thank you!