This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] TUI: Don't print KEY_RESIZE keys
- From: Pedro Alves <palves at redhat dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>, gdb-patches at sourceware dot org
- Date: Thu, 08 Jan 2015 11:29:29 +0000
- Subject: Re: [PATCH 2/3] TUI: Don't print KEY_RESIZE keys
- Authentication-results: sourceware.org; auth=none
- References: <1420689885-31156-1-git-send-email-patrick at parcs dot ath dot cx> <1420689885-31156-2-git-send-email-patrick at parcs dot ath dot cx>
On 01/08/2015 04:04 AM, Patrick Palka wrote:
> wgetch() sometimes returns KEY_RESIZE when ncurses detects that the
> terminal has been resized.
I think curses SIGWINCH handler ends up _not_ installed, right?
We install our own, and so does readline.
So how did a resize manage to be detected/processed while inside
wgetch?
Thanks,
Pedro Alves