Fix input via command line/terminal not working
Another regression caused by !1952 (merged): input via the command prompt or terminal didn't work properly. This was caused by the ev_console
code that handles console input was accidentally removed, and by re-adding it and properly checking the event type, it started functioning again.