Alter #218: leave register mode after keypress.

Some special keys like <Left> or <Right> would exit register mode in
the background but the " character in the command line UI remained.