fix home/end keys

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>