nicer history searching with arrow keys

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>