pub fn is_interrupted() -> bool
Returns true if Ctrl+C was pressed, and clears the flag.
true
Commands that loop (e.g. watch, ping, gfx test3d) should call this each iteration to support cancellation.
watch
ping
gfx test3d