curses.reset_prog_mode()
Restore the terminal to “program” mode, as previously saved by def_prog_mode().
def_prog_mode()
Please login to continue.
Please login to continue.