Redirect interrupts to setting a global interrupt boolean.
Direct interrupts (e.g.
Ctrl-C) to a boolean flag.