Method: Curses.reset_prog_mode

Defined in:
ext/curses/curses.c

.reset_prog_modeObject

Reset the current terminal modes to the saved state by the Curses.def_prog_mode

This is done automatically by Curses.close_screen



1683
1684
1685
1686
1687
1688
# File 'ext/curses/curses.c', line 1683

static VALUE
curses_reset_prog_mode(VALUE obj)
{
    curses_stdscr();
    return reset_prog_mode() == OK ? Qtrue : Qfalse;
}