Hi,

When the scrollTtyKeypress resource is set to true, and view_start is nonzero,
a keypress should update view_start to zero and trigger a refresh. That works,
but this update does not trigger on_view_change, although I guess it should.
Here's a patch that calls the hook in that case.

Best regards
Dennis

--- a/src/command.C
+++ b/src/command.C
@@ -4167,6 +4167,8 @@
       {
         view_start = 0;
         want_refresh = 1;
+
+        HOOK_INVOKE ((this, HOOK_VIEW_CHANGE, DT_INT, view_start, DT_END));
       }
 
   tt_write_ (data, len);

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to