2010-07-28 Balazs Kezes <rlblaster@gmail.com>

* tui/tui-win.c (make_visible_with_new_height): Resize and move
	the command window to the new size and position.
This commit is contained in:
Pedro Alves
2010-07-28 12:08:19 +00:00
parent a782f43e86
commit d27b3be477
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-win.c (make_visible_with_new_height): Resize and move
the command window to the new size and position.
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-win.c (tui_resize_all): Update the locator's origin's

View File

@ -1403,6 +1403,12 @@ make_visible_with_new_height (struct tui_win_info *win_info)
case CMD_WIN:
win_info->detail.command_info.cur_line = 0;
win_info->detail.command_info.curch = 0;
wresize (TUI_CMD_WIN->generic.handle,
TUI_CMD_WIN->generic.height,
TUI_CMD_WIN->generic.width);
mvwin (TUI_CMD_WIN->generic.handle,
TUI_CMD_WIN->generic.origin.y,
TUI_CMD_WIN->generic.origin.x);
wmove (win_info->generic.handle,
win_info->detail.command_info.cur_line,
win_info->detail.command_info.curch);