wduquette / molt

Embeddable TCL Interpreter for Rust applications
BSD 3-Clause "New" or "Revised" License
103 stars 12 forks source link

molt_shell::repl should include commands with errors in the history #103

Open wduquette opened 4 years ago

wduquette commented 4 years ago

Because the first thing you do when you mistype a command is press up-arrow to bring it back so you can edit it. At present, the molt_shell::repl function only adds commands to the history if they return Ok(_).