the arrow keys exit the completion mode