Made key presses go directly to the shell

This is better than going directly to the terminal since it allows you to handle arrow keys easier (since the terminal will see them as ANSI control codes and not put them in the input buffer, potentially).