> As I can see, you use master(4.99), not 4.8.0, right? I use neither branch master, nor tag v.4.8.0. I reproduced this using a specific commit (241553f21ce38eae821ea4c1e12241365563d444) that to me appears to be the one that introduces the problem. This commit is included in (ancestor of) screen-v4, v.4.8.0 and v.4.9.0 but not in master.
$ isancestorof() { if git merge-base --is-ancestor $1 $2; then echo $1 is included in $2; else echo $1 is NOT included in $2; fi; } $ for rev in origin/master v.4.8.0 v.4.9.0 origin/screen-v4; do echo $rev is $(git rev-parse $rev); isancestorof 241553f21ce38eae821ea4c1e12241365563d444 $rev; done origin/master is ecea7aa87dbb0fe04ea2145d0a9a7a08dc597088 241553f21ce38eae821ea4c1e12241365563d444 is NOT included in origin/master v.4.8.0 is 067c3ebca4e8160f82afa65672925323a4f27614 241553f21ce38eae821ea4c1e12241365563d444 is included in v.4.8.0 v.4.9.0 is 221ab5da0674922d20fa43e11888fc26121d6a1e 241553f21ce38eae821ea4c1e12241365563d444 is included in v.4.9.0 origin/screen-v4 is 6cb6fe5213148e8233146ef05b83534b54732b84 241553f21ce38eae821ea4c1e12241365563d444 is included in origin/screen-v4 > Can you provide the info about your OS and ncurces version please? $ uname -a Linux d 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux $ debian_version 11.6 $ grep Id: /usr/include/ncurses.h /* $Id: curses.h.in,v 1.269 2020/08/17 14:14:12 tom Exp $ */ /* $Id: curses.wide,v 1.50 2017/03/26 16:05:21 tom Exp $ */ /* $Id: curses.tail,v 1.25 2019/12/14 22:28:39 tom Exp $ */ $ ls -l /lib/x86_64-linux-gnu/libncurses* lrwxrwxrwx 1 root root 17 Jan 1 2021 /lib/x86_64-linux-gnu/libncurses.so.6 -> libncurses.so.6.2 -rw-r--r-- 1 root root 165808 Jan 1 2021 /lib/x86_64-linux-gnu/libncurses.so.6.2 lrwxrwxrwx 1 root root 18 Jan 1 2021 /lib/x86_64-linux-gnu/libncursesw.so.6 -> libncursesw.so.6.2 -rw-r--r-- 1 root root 235440 Jan 1 2021 /lib/x86_64-linux-gnu/libncursesw.so.6.2 $ file /lib/x86_64-linux-gnu/libncurses.so.6.2 /lib/x86_64-linux-gnu/libncurses.so.6.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=9ad5f34c949142aa74d77ed346fe93d6207a25e0, stripped $ file /lib/x86_64-linux-gnu/libncursesw.so.6.2 /lib/x86_64-linux-gnu/libncursesw.so.6.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3a62db1c1dd955123b97f250006d0586e202e799, stripped