Open maximedenes opened 1 year ago
The issue title and description don't exactly say much -- is this about canceling a long-running tactic? If so then yes, that's absolutely needed for development of tactic automation. Writing infinite loops (or exponential-time proof search) is very easy in Coq, so it should be easy to cancel that.
IMO the most "obvious" shortcut for that is Alt-Up -- I am saying "okay stop I don't mean it, go back to the previous command". A new dedicated shortcut could also work but makes it more likely that a frustrated user will not find it.
VSCode should message vscoqtop, the signal handler should flip the boolean, the exec manager recognize the interruption exception.
In continuous mode it is unclear to me if one should switch to manual mode until further notice.