Shift arrow for history searches, history otherwise.