kurtlawrence / papyrus

(Rust) repl
MIT License
440 stars 14 forks source link

Handle EOF #78

Closed mcandre closed 4 years ago

mcandre commented 4 years ago

REPLs commonly accept Control+D, also known as EOF, as terminating the session. Could papryus adopt this convention as well?

kurtlawrence commented 4 years ago

Papyrus uses Ctrl+c to exit the session. The command :exit can also be used to exit. Ctrl+d is already used in verbatim mode, which I can added documentation in the cmds module.