bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb and SIGWINCH


From: Thomas Dickey
Subject: Re: gdb and SIGWINCH
Date: Thu, 24 Sep 2009 17:35:33 -0400 (EDT)

On Thu, 24 Sep 2009, james morris wrote:


Hi,

gdb shows:

(gdb) handle SIGWINCH
Signal        Stop      Print   Pass to program Description
SIGWINCH      No        No      Yes             Window size changed

but resizing the window still has no effect (KEY_RESIZE is detected in my
code ;-)

I'm not sure what's not working: if your program reads KEY_RESIZE, and
then does a refresh (or another wgetch which does a refresh), ncurses
is supposed to call resizeterm, which resizes stdscr, etc., to fit
in the new LINES/COLS limits.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]