fix arrow keys not working after less