ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.237 by root, Sun May 18 18:09:52 2014 UTC vs.
Revision 1.240 by sf-exg, Fri Oct 10 14:32:32 2014 UTC

675 @TERM_EXT = (); 675 @TERM_EXT = ();
676 $TERM->register_package ($_) for @pkg; 676 $TERM->register_package ($_) for @pkg;
677 } 677 }
678 678
679 for ( 679 for (
680 @{ delete $TERM->{perl_ext_3} },
681 grep $_, map { split /,/, $TERM->resource ("perl_ext_$_") } 1, 2 680 grep $_, map { split /,/, $TERM->resource ("perl_ext_$_") } 1, 2
682 ) { 681 ) {
683 if ($_ eq "default") { 682 if ($_ eq "default") {
684 683
685 $ext_arg{$_} = [] 684 $ext_arg{$_} = []
686 for 685 for
687 qw(selection option-popup selection-popup readline), 686 qw(selection option-popup selection-popup readline),
687 @{ delete $TERM->{perl_ext_3} },
688 map $_->[0], values %{ $TERM->{meta}{binding} }; 688 map $_->[0], values %{ $TERM->{meta}{binding} };
689 689
690 for ($TERM->_keysym_resources) { 690 for ($TERM->_keysym_resources) {
691 next if /^(?:string|command|builtin|builtin-string|perl)/; 691 next if /^(?:string|command|builtin|builtin-string|perl)/;
692 next unless /^([A-Za-z0-9_\-]+):/; 692 next unless /^([A-Za-z0-9_\-]+):/;
693 693
694 my $ext = $1; 694 my $ext = $1;
695 $ext =~ y/-/_/;
696 695
697 $ext_arg{$ext} = []; 696 $ext_arg{$ext} = [];
698 } 697 }
699 698
700 } elsif (/^-(.*)$/) { 699 } elsif (/^-(.*)$/) {
1499to the locale-specific encoding using C<< $term->locale_encode >>. 1498to the locale-specific encoding using C<< $term->locale_encode >>.
1500 1499
1501=item $term->tt_write_user_input ($octets) 1500=item $term->tt_write_user_input ($octets)
1502 1501
1503Like C<tt_write>, but should be used when writing strings in response to 1502Like C<tt_write>, but should be used when writing strings in response to
1504the user pressing a key, to invokes the additional actions requested by 1503the user pressing a key, to invoke the additional actions requested by
1505the user for that case (C<tt_write> doesn't do that). 1504the user for that case (C<tt_write> doesn't do that).
1506 1505
1507The typical use case would be inside C<on_action> hooks. 1506The typical use case would be inside C<on_action> hooks.
1508 1507
1509=item $term->tt_paste ($octets) 1508=item $term->tt_paste ($octets)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines