mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
clear()/refresh() _after_ resize_term().
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* wrs(5/28/93) -- modified to be consistent (perform identically) with
|
||||
* either PDCurses or under Unix System V, R4
|
||||
*
|
||||
* $Id: testcurs.c,v 1.58 2006/07/23 05:00:57 wmcbrine Exp $
|
||||
* $Id: testcurs.c,v 1.59 2006/07/23 15:09:18 wmcbrine Exp $
|
||||
*/
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
@@ -718,11 +718,12 @@ void resizeTest(WINDOW *dummy)
|
||||
int owidth = COLS, oheight = LINES;
|
||||
|
||||
savetty();
|
||||
clear();
|
||||
refresh();
|
||||
|
||||
resize_term(nheight, nwidth);
|
||||
|
||||
clear();
|
||||
refresh();
|
||||
|
||||
win1 = newwin(10, 50, 14, 25);
|
||||
|
||||
if (win1 == NULL)
|
||||
|
||||
Reference in New Issue
Block a user