interrupt method

  1. @override
void interrupt()

What a Ctrl+C nothing live took does once the inline session has ended and handed the terminal back: on the process's terminal it sends the process SIGINT, so it ends as it would at a cooked terminal, unless the program watches the signal.

Implementation

@override
void interrupt() => _interrupts++;