mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
A small step backwards -- ifndef XCURSES the resize_term() call in
PDC_restore_screen().
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
# undef wmove
|
||||
#endif
|
||||
|
||||
RCSID("$Id: kernel.c,v 1.53 2006/07/28 19:56:27 wmcbrine Exp $");
|
||||
RCSID("$Id: kernel.c,v 1.54 2006/07/30 06:52:01 wmcbrine Exp $");
|
||||
|
||||
RIPPEDOFFLINE linesripped[5];
|
||||
char linesrippedoff = 0;
|
||||
@@ -173,9 +173,10 @@ static int PDC_restore_mode(struct cttyset *ctty)
|
||||
if (PDC_get_scrn_mode() != ctty->saved.scrnmode)
|
||||
PDC_set_scrn_mode(ctty->saved.scrnmode);
|
||||
#endif
|
||||
#ifndef XCURSES
|
||||
if ((LINES != ctty->saved.lines) || (COLS != ctty->saved.cols))
|
||||
resize_term(ctty->saved.lines, ctty->saved.cols);
|
||||
|
||||
#endif
|
||||
PDC_curs_set(ctty->saved.visibility);
|
||||
|
||||
PDC_gotoyx(ctty->saved.cursrow, ctty->saved.curscol);
|
||||
|
||||
Reference in New Issue
Block a user