savage icon indicating copy to clipboard operation
savage copied to clipboard

Ability to cancel evaluations in REPL

Open p-e-w opened this issue 2 years ago • 0 comments

The welcome message promises that this will happen when you press Ctrl+C, but that isn't actually implemented yet.

The plan is to spin off a subprocess that does the evaluation, and kill that process when the user cancels. Turning evaluate into an async fn isn't possible, because functionality like integer multiplication is provided by the num crate as synchronous functions.

p-e-w avatar Mar 13 '22 03:03 p-e-w