Add support for arrow keys

Wheeee! Inspired by the HN comment thread.