diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2015-04-23 18:36:58 -0400 |
---|---|---|
committer | Patrick Palka <patrick@parcs.ath.cx> | 2015-04-28 08:50:11 -0400 |
commit | a88d0bb33c28bc51c0f53cdd5c42d00217a1d771 (patch) | |
tree | 50700ac5cf748f69c2cc7ac921db83044a8e47d1 /readline/doc | |
parent | d6e5e7f7fd90baad9cbfaa5a187b5f0b1a0b8cf6 (diff) | |
download | gdb-a88d0bb33c28bc51c0f53cdd5c42d00217a1d771.zip gdb-a88d0bb33c28bc51c0f53cdd5c42d00217a1d771.tar.gz gdb-a88d0bb33c28bc51c0f53cdd5c42d00217a1d771.tar.bz2 |
Update our idea of our terminal's dimensions even outside of TUI
When in the CLI, GDB's "width" and "height" variables are not kept in sync
when the underlying terminal gets resized.
This patch fixes this issue by making sure sure to update GDB's "width"
and "height" variables in the !tui_active case of our SIGWINCH handler.
gdb/ChangeLog:
* tui/tui-win.c (tui_sigwinch_handler): Remove now-stale comment.
(tui_sigwinch_handler): Still update our idea of
the terminal's width and height even when TUI is not active.
Diffstat (limited to 'readline/doc')
0 files changed, 0 insertions, 0 deletions