[Top][All Lists]

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

Re: terminals + resizing problems

From: james morris
Subject: Re: terminals + resizing problems
Date: Tue, 15 Sep 2009 13:19:28 +0100 (BST)

On 15/9/2009, "Thomas Dickey" <address@hidden> wrote:

>On Tue, 15 Sep 2009, james morris wrote:
>> Hi,
>> Are there any issues with terminals not reporting their sizes properly on
>> resize (especially maximise/unmaximise window operations)?
>none (that I recall) that would be specific to a given terminal
>> My code seems fine in an xterm, but not eterm, or xfce terminal.
>> I'm using newwin instead of mvwin or wresize though. I got confused by
>> mvwin, should the coordinates passed to it, be relative to its current
>> position on screen or not?
>mvwin uses absolute coordinates

Thanks, I've converted it to use wresize and mvwin instead of deleting
and recreating the windows, and also changed the types of the vars used
to calculate everything from char to int. My code is still broken.

I'm outputting the coords/geometries of the two windows to stderr and
redirecting that to another terminal from bash. it seems to show that my
code is not catching all the KEY_RESIZE events from wgetch.

Does KEY_RESIZE go to all windows as far as use of wgetch is concerned?


reply via email to

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