new routine check_for_mouse_events() wraps new functionality term->waitforinput(TERM_ONLY_CHECK_MOUSING) to handle events when input is not blocked waiting for stdin
Check for mouse events during "pause <time>" and during load/eval/while processing