… | |
… | |
85 | Displays a digital clock using the built-in overlay. |
85 | Displays a digital clock using the built-in overlay. |
86 | |
86 | |
87 | =item mark-urls |
87 | =item mark-urls |
88 | |
88 | |
89 | Uses per-line display filtering (C<on_line_update>) to underline urls and |
89 | Uses per-line display filtering (C<on_line_update>) to underline urls and |
90 | make them clickable. When clicked, the program specified in the resource |
90 | make them clickable. When middle-clicked, the program specified in the |
91 | C<urlLauncher> (default C<x-www-browser>) will be started. |
91 | resource C<urlLauncher> (default C<x-www-browser>) will be started. |
92 | |
92 | |
93 | =item block-graphics-to-ascii |
93 | =item block-graphics-to-ascii |
94 | |
94 | |
95 | A not very useful example of filtering all text output to the terminal, |
95 | A not very useful example of filtering all text output to the terminal, |
96 | by replacing all line-drawing characters (U+2500 .. U+259F) by a |
96 | by replacing all line-drawing characters (U+2500 .. U+259F) by a |
… | |
… | |
613 | # clear package |
613 | # clear package |
614 | %$TERM = (); |
614 | %$TERM = (); |
615 | } |
615 | } |
616 | |
616 | |
617 | $retval |
617 | $retval |
|
|
618 | } |
|
|
619 | |
|
|
620 | sub exec_async(@) { |
|
|
621 | my $pid = fork; |
|
|
622 | |
|
|
623 | return |
|
|
624 | if !defined $pid or $pid; |
|
|
625 | |
|
|
626 | %ENV = %{ $TERM->env }; |
|
|
627 | |
|
|
628 | exec @_; |
|
|
629 | _exit 255; |
618 | } |
630 | } |
619 | |
631 | |
620 | # urxvt::term::extension |
632 | # urxvt::term::extension |
621 | |
633 | |
622 | package urxvt::term::extension; |
634 | package urxvt::term::extension; |