[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Off-screen panels/windows
From: |
Thomas Dickey |
Subject: |
Re: Off-screen panels/windows |
Date: |
Sat, 26 Sep 2020 15:29:40 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Sat, Aug 08, 2020 at 09:50:43PM -0400, Bill Gray wrote:
> Thank you; this does clear things up a lot.
>
> On 8/8/20 5:44 PM, Thomas Dickey wrote:
> > I'd expect the windows associated with the panels to be resized/limited
> > to be on-screen (if not, a bug...)
> >
>
> In that case, I think I have a bug to report. Compile
>
> https://github.com/Bill-Gray/PDCursesMod/blob/master/demos/test_pan.c
It's (one of a dozen or so items) on my current to-do list.
I think that it might be done as a new function call,
e.g., "resize_panel", to make the panel library aware of it
(though there's also the possibility of hiding it in the panel-hooks).
> Seems reasonable, unfortunately. Handling partial display seems
> to be relatively easy and is actually a "feature". If I in PDCurses
> and you in ncurses have to keep windows and panels on-screen, shifting
> them left/up if the terminal is shrunk horizontally/vertically, and
> also having to shrink those windows if they're wider/higher than the
> screen, I can only say: ugh.
handling a shrinking window is basically what I'm doing in other places
now - the opposite (a growing window) needs some information from the
application on how to use the additional space.
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Off-screen panels/windows,
Thomas Dickey <=