def_prog_mode()/def_shell_mode()/savetty() and reset_prog_mode()/reset_shell_mode()/resetty() have common cores. (The differences in resize handling appeared bogus.)
def_prog_mode()/def_shell_mode()/savetty() and
reset_prog_mode()/reset_shell_mode()/resetty() have common cores. (The
differences in resize handling appeared bogus.)

BurningEnlightenment/PDCurses,BurningEnlightenment/PDCurses,BurningEnlightenment/PDCurses