bug-ncurses
[Top][All Lists]
Advanced

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

Rows and Cols check in InitMenu() method


From: Federico Di Pierro
Subject: Rows and Cols check in InitMenu() method
Date: Thu, 28 Dec 2017 20:45:23 +0100

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?​

​Thanks for your time,​
Federico

reply via email to

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