This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] 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.

Neat. Thanks for this nice little enhancement!

I've only glanced at the patch, as I'm not a specialist of this area
and Pedro has been pretty active there and would do a much better job
than I would. But if Pedro can't make it, I'm sure I could set some
time aside to review it a little more carefully.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]