Add callback for scrolling action
Brought to you by:
btakahashi
This patch allows registration of a callback that is
invoked whenever a scrolling operation occurs. This
patch requires patch #1438844 and enhances that patch
to call a registered callback function with the line
removed by the scroll (and which will be used to supply
the newly exposed line).
The most obvious use of this patch is to provide
scrollback history for the Rote window.
Logged In: YES
user_id=6133
Also attached boxshell2.c demo. This is an updated version
of boxshell.c that uses select instead of busywaiting, and
that also demonstrates the use of the scrolling callback.
boxshell2.c -- updated demo
scrolling callback patch (updated)