#include <term.h>
-MODULE_ID("$Id: lib_options.c,v 1.56 2008/06/07 14:01:46 tom Exp $")
+MODULE_ID("$Id: lib_options.c,v 1.57 2008/06/28 23:31:15 tom Exp $")
static int _nc_curs_set(SCREEN *, int);
static int _nc_meta(SCREEN *, bool);
/* cannot use use_screen(), since that is not in tinfo library */
_nc_lock_global(curses);
save_sp = SP;
- SP = sp;
+ _nc_set_screen(sp);
rc = _nc_keypad(sp, flag);
- SP = save_sp;
+ _nc_set_screen(save_sp);
_nc_unlock_global(curses);
} else
#endif