prevent ESC key rom interfering with editor, fixes #51