if (lines)
scr_page (op == URxvt_view_up ? UP : DN, lines);
else
- {
- scr_erase_savelines ();
- }
+ scr_erase_savelines ();
break;
#endif
+
+#if ENABLE_PERL
+ case URxvt_perl:
+ if (PERL_INVOKE ((this, HOOK_OSC_SEQ, DT_STRING, str, DT_END)))
+ ; // no responses yet
+ break;
+
+#endif
+
}
}
/*----------------------------------------------------------------------*/
Called whenever the program(s) running in the urxvt window send output.
+=item on_osc_seq $term, $string
+
+Called whenever the B<ESC ] 777 ; string ST> command sequence is
+processed. Cursor position and other state information is up-to-date when
+this happens. For interoperability, the string should start with the
+extension name and a colon, to distinguish it from commands for other
+extensions, and this might be enforced in the future.
+
=item on_refresh_begin $term
Called just before the screen gets redrawn. Can be used for overlay