NetBSD-Bugs archive

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

Re: install/56467: sysinst output no longer scrolls correctly



The following reply was made to PR install/56467; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/56467: sysinst output no longer scrolls correctly
Date: Thu, 28 Oct 2021 08:05:01 +0000 (UTC)

 Hi,
 
 As Martin intuited, this is a curses issue when scrolling on a line > the
 max col. width. The patch below works for me, but, better have the curses
 devs. give it a once over before committing.
 
 Thanks,
 -RVP
 
 ---START PATCH---
 --- lib/libcurses/addbytes.c.orig	2021-09-06 07:45:48.000000000 +0000
 +++ lib/libcurses/addbytes.c	2021-10-28 07:41:46.402564363 +0000
 @@ -559,6 +559,7 @@
   				return ERR;
   			__CTRACE(__CTRACE_INPUT,
   			    "_cursesi_addwchar: do a scroll\n");
 +			*x = 0;
   			scroll(win);
   		}
   		newx = win->maxx - 1 + win->ch_off;
 ---END PATCH---
 


Home | Main Index | Thread Index | Old Index