Added mapping for up and down keys to stop annoying artifacts on xterm