Not possible to interact during long running (or infinite) expression evaluations #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
purplebear/smli-rs#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be beneficial if the program could be restarted if an infinite or long running expression is evaluated. Currently the repl does not respond to kill commands because it is busy eval'ing.
we rebound restart so ctrl+c retains its original functionality of interrupting the repl. now, when reloading or killing the repl, an interrupt command is injected first, to stop the current evaluation and then the exit command. handled in commit 28ee90aeea.