Block a user
Pressing enter to finish a terminal.read() operation ends up pressing enter in the shell too
Or just pull all events when returning to shell and then start listening for them again