switch() in this instance will certainly guarantee you can only handle 1 key press at a time.