Arrow keys work in prompt() input.

  I'd inserted the is-print test before the control keys.

  This updates #102.