current-get-interaction-input-port' and adjust
so that GUI events are dispatched while a REPL is blocked on input