def_prog_mode


Description:

public int def_prog_mode ()

Saves the current terminal mode as the "program" mode, the mode when the running program is using curses.

Its counterpart is the "shell" mode, for when the program is not in curses.

Subsequent calls to Curses.reset_prog_mode will restore this mode.


Namespace: Curses
Package: curses