Moved the > outside the escape block, to solve som terminal bugs experienced when using uparrow, and option-leftarrow.