mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
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:
@ -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>
|
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
|
||||||
|
|
||||||
* tui/tui-win.c (tui_resize_all): Update the locator's origin's
|
* tui/tui-win.c (tui_resize_all): Update the locator's origin's
|
||||||
|
@ -1403,6 +1403,12 @@ make_visible_with_new_height (struct tui_win_info *win_info)
|
|||||||
case CMD_WIN:
|
case CMD_WIN:
|
||||||
win_info->detail.command_info.cur_line = 0;
|
win_info->detail.command_info.cur_line = 0;
|
||||||
win_info->detail.command_info.curch = 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,
|
wmove (win_info->generic.handle,
|
||||||
win_info->detail.command_info.cur_line,
|
win_info->detail.command_info.cur_line,
|
||||||
win_info->detail.command_info.curch);
|
win_info->detail.command_info.curch);
|
||||||
|
Reference in New Issue
Block a user