On Tue, 5 Sep 2023, Julian Coleman wrote:
I think this patch is OK - we set win->curx = 0 in scroll(). However, I wonder if we should add if (!__NONL), as is done there [*]? Regards, Julian PS. We could probably remove NONL (and GT) because it doesn't look like we're using them, but some other time. [*] https://nxr.netbsd.org/xref/src/lib/libcurses/tty.c#129
Ah, I've lost all context for this, but, certainly there's an issue a few lines above that: https://nxr.netbsd.org/xref/src/lib/libcurses/tty.c#116 It should be `screen->outfd' as per the comment just above. -RVP