[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Re: Rows and Cols check in InitMenu() method
From:       Thomas Dickey <dickey () his ! com>
Date:       2017-12-29 12:46:35
Message-ID: 20171229124635.GA8125 () prl-debian8-64 ! jexium-island ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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 <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

["signature.asc" (application/pgp-signature)]

_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ncurses


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic