[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rows and Cols check in InitMenu() method
From: |
Thomas Dickey |
Subject: |
Re: Rows and Cols check in InitMenu() method |
Date: |
Fri, 29 Dec 2017 07:46:35 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Dec 28, 2017 at 08:45:23PM +0100, Federico Di Pierro wrote:
> Hi everyone!
>
> While trying ncurses C++ api, i struggled to understand the reason behind
> the check inside InitMenu:
> https://github.com/mirror/ncurses/blob/b22573b1ba4b51da883fa5f805b52f153fa5fae9/c%2B%2B/cursesm.cc#L154
>
> I don't understand why a NCursesMenu cannot be framed if it contains too
> many objects.
> I mean, if its content can scroll, why not making it scroll taking into
> account that first/last row should not be touched?
>
> Am i missing anything?
My note for that (moving a call for set_menu_sub) says
working on c++/demo to resolve bugs in new_prescr, found another bug
which was reported in NEWS as
+ improve compatibility between different configurations of new_prescr,
fixing a case with threaded code and term-driver where c++/demo did
not work (cf: 20160213).
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature