modules/gui/macosx.m: Make sure the module will terminate after a Ctrl-C from a term.