Allow shift-run to work with arrow keys in curses.  Closes #1756.