Better handling of ESC key input if mouse support is disabled
If mouseEnabled is false (default), now uses console.inkey()/getkey() directly rather than mouse_getkey(). This way, if mouse support is not enabled, inputting the ESC key can be handled better.
Edited by Eric Oulashin