On Thu Feb 5, 2026 at 12:59:33 GMT +01, the GNU implementation of curses Robin 
Haberkorn via Bug reports for ncurses wrote:
> I should try to get that
> scrolling to work in a script with tput. If it's really worth all the
> effort...

Further investigation reveals that VT100 scrolls properly and the
other terminal emulators, where I suspected problems - GNOME Terminal
and Aerc's builtin terminal emulator - probably also do as they should.

It's quite easy to test e.g. by running `tput csr 2 7`.
Afterwards you can see that the first 2 lines are preserved and scrolling
(press Enter) does not clear them.
It's just that VT100 apparently shows the "smooth scroll" animation
on all screen lines, not only in the scroll region.

The "jumping cursor" was actually observed not when merely scrolling,
but when deleting lines. Since I have leading line numbers, all the
following lines actually change and at least the line numbers have to
be redrawn anyway. I believe that ncurses does not try to combine
scrolling with redrawing, so it just redraws all the lines following
the deleted line on the screen.

So everything is as it should. Any more hints on how to reduce the
cursor flickering when using the hardware cursor would be appreciated.

Best regards,
Robin

-- 
@ii._._.*.._+__.+_+.+...+.+.++..+*+.+._.+...*_*.*.__+__._._.++..+_*.++__+__
.+_..*...+.+_+__.+._.+...*_+_+__._ ...*_ +.+._.+.._+*+_+__._._ .+_..+.+***_
. *_+_+__.+.*.++..+_+.*.__+_ _.+...*_*_+__.++*.+...++..+* +.+.._+__._+_.+..
.++..+*_.*...+*+.+.*_ +*+i2^rj.u#__%uu#_.%uu#_+%uu#_*!+!0a"t1010^t^c^c'0a^#
1010"=d'0a-100000"=d'0auuqq*100+q[_^euu]uq-rq:^/100@oo,+,+,+oqq^t0uq@o*+*!!

Attachment: signature.asc
Description: PGP signature

Reply via email to