please add a function: quit the display mode after pressing a key diretly