… | |
… | |
22 | my ($self, $keysym, $state, $str) = @_; |
22 | my ($self, $keysym, $state, $str) = @_; |
23 | |
23 | |
24 | if ($str =~ /^list(.)/) { |
24 | if ($str =~ /^list(.)/) { |
25 | my @list = split /\Q$1/, $str; |
25 | my @list = split /\Q$1/, $str; |
26 | if (@list == 3 or @list == 4) { |
26 | if (@list == 3 or @list == 4) { |
27 | $self->register_command ($keysym++, $state, "$list[1]$_$list[3]") |
27 | $self->register_command ($keysym++, $state, "string:$list[1]$_$list[3]") |
28 | for split //, $list[2]; |
28 | for split //, $list[2]; |
29 | |
29 | |
30 | return 1; |
30 | return 1; |
31 | } |
31 | } |
32 | |
32 | |