KEY_ENTER instead of '\n' when the return key is pressed, causing getstring() to fail. From Mohamed Aslan.