Emergency fix to supply KEY_END outside of curses.