[arch-general] [arch-dev-public] [signoff] ncurses-5.8-1
Gaetan Bisson
bisson at archlinux.org
Sun Feb 27 16:13:08 EST 2011
[2011-02-27 16:04:26 -0500] Loui Chang:
> Rebuild won't do it. tig wants to create zero sized windows which
> newwin() doesn't allow anymore. We could patch it with some arbitrary
> size which kind of works,
The oping program (from liboping in [community]) was doing the same, so
I patched it like this:
int width = 0;
int height = 0;
getmaxyx (stdscr, height, width);
newwin (height, width, ..., ...);
In fact, it was already using height before, only width was 0.
--
Gaetan
More information about the arch-general
mailing list