Left and right arrows duplicate up and down arrows respectively to prevent printing invisible characters and breaking search