Author: kmachalkova Date: Thu Dec 20 15:44:14 2007 New Revision: 43204 URL: http://svn.opensuse.org/viewcvs/yast?rev=43204&view=rev Log: Update the status line correctly after screen resize Modified: trunk/ncurses/src/NCurses.cc Modified: trunk/ncurses/src/NCurses.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCurses.cc?rev=43204&r1=43203&r2=43204&view=diff ============================================================================== --- trunk/ncurses/src/NCurses.cc (original) +++ trunk/ncurses/src/NCurses.cc Thu Dec 20 15:44:14 2007 @@ -666,8 +666,12 @@ } Update(); + //after the resize, status line window needs to be moved to the new pos. + ::mvwin(myself->status_w, NCurses::lines(), 0); SetStatusLine(myself->status_line); - Update(); + //update the screen + ::touchwin(myself->status_w); + ::doupdate(); UIMIL << "done resize ..." << endl; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org