Menu

#5 Add callback for scrolling action

open
nobody
None
5
2006-02-26
2006-02-26
Kevin Quick
No

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.

Discussion

  • Kevin Quick

    Kevin Quick - 2006-02-26

    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.

     
  • Kevin Quick

    Kevin Quick - 2006-02-26

    boxshell2.c -- updated demo

     
  • Kevin Quick

    Kevin Quick - 2006-02-28

    scrolling callback patch (updated)

     

Log in to post a comment.