limit scope of raw mode on stdout to allow interrupts to work
This commit is contained in:
@@ -3180,6 +3180,7 @@ impl MachineState {
|
||||
let interrupted = INTERRUPT.load(std::sync::atomic::Ordering::Relaxed);
|
||||
|
||||
if INTERRUPT.compare_and_swap(interrupted, false, std::sync::atomic::Ordering::Relaxed) {
|
||||
self.reset();
|
||||
self.fail = true;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user