Made key input prompt pause less buggy