Module Name: src Committed By: blymn Date: Wed Nov 30 06:19:16 UTC 2022
Modified Files: src/lib/libcurses: refresh.c Log Message: When performing a scroll, check the last line of the region is the same on virtscr and curscr because the indexes past are supposed to be one *past* the last matching line (they may actually match if the line is at the bottom of the screen). Iff they don't match reduce the scroll region size by one so we don't scroll non-matching lines, also check if the region is then 0 after the decrement and just return if it was. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/lib/libcurses/refresh.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.