On most REPL, the input should also come from direct input, in our case, the keyboard. The challenge of adding this, is that we need to listen on keyboard events, rather than using a traditional input field.