When hitting the enter key after `window.input()` was called, the terminal just stops there. It cannot print things any more.