Re: libcurses: don't return ERR if resize didn't change size

2021-03-10 Thread Theo Buehler
On Thu, Jan 21, 2021 at 11:06:05AM -0700, Todd C. Miller wrote: > This is a backport of the ncurses 5.9 20120707 patch. > https://github.com/mirror/ncurses/commit/471bc007361fd4bc8d2fae060c7d5b09828ed541 ok tb

Re: libcurses: don't return ERR if resize didn't change size

2021-01-21 Thread Todd C . Miller
On Thu, 21 Jan 2021 19:53:48 +0100, Hiltjo Posthuma wrote: > Yes please!, I've also run into this issue on OpenBSD with the "catpoint" > presentation program. I've been meaning to send the exact same backport patch > . > > The upstream snapshot version of ncurses compiles fine on OpenBSD and I've

Re: libcurses: don't return ERR if resize didn't change size

2021-01-21 Thread Hiltjo Posthuma
On Thu, Jan 21, 2021 at 11:06:05AM -0700, Todd C. Miller wrote: > This is a backport of the ncurses 5.9 20120707 patch. > https://github.com/mirror/ncurses/commit/471bc007361fd4bc8d2fae060c7d5b09828ed541 > > Previously, getch() would return ERR if SIGWINCH was received but > the window didn't actu

libcurses: don't return ERR if resize didn't change size

2021-01-21 Thread Todd C . Miller
This is a backport of the ncurses 5.9 20120707 patch. https://github.com/mirror/ncurses/commit/471bc007361fd4bc8d2fae060c7d5b09828ed541 Previously, getch() would return ERR if SIGWINCH was received but the window didn't actually change size. This can happen, for example, when the xterm font is ch