2012-03-16 Chris January <chris.january@allinea.com>

* tui-tui.win.c (tui_resize_all): Use erase and clearok instead
	of clear.
This commit is contained in:
Tom Tromey 2012-03-16 18:22:24 +00:00
parent e16edb4530
commit c366c1f032
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-03-16 Chris January <chris.january@allinea.com>
* tui-tui.win.c (tui_resize_all): Use erase and clearok instead
of clear.
2012-03-16 Chris January <chris.january@allinea.com>
* source.c (add_path): Use memmove instead of strcpy because the

View File

@ -690,13 +690,16 @@ tui_resize_all (void)
if (height_diff < 0)
cmd_split_diff--;
else
cmd_split_diff++;
}
cmd_split_diff++;
}
/* Now adjust each window. */
clear ();
/* erase + clearok are used instead of a straightforward clear as
AIX 5.3 does not define clear. */
erase ();
clearok (curscr, TRUE);
refresh ();
switch (cur_layout)
{
{
case SRC_COMMAND:
case DISASSEM_COMMAND:
first_win = (struct tui_win_info *) (tui_source_windows ())->list[0];