Re: [arch-dev-public] [signoff] ncurses-5.8-1

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



[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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux