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