… | |
… | |
1173 | $sep ||= "═"; |
1173 | $sep ||= "═"; |
1174 | |
1174 | |
1175 | $self->add_item ({ |
1175 | $self->add_item ({ |
1176 | rend => { normal => "\x1b[0;30;47m", hover => "\x1b[0;30;47m", active => "\x1b[0;30;47m" }, |
1176 | rend => { normal => "\x1b[0;30;47m", hover => "\x1b[0;30;47m", active => "\x1b[0;30;47m" }, |
1177 | text => "", |
1177 | text => "", |
1178 | render => sub { $sep x $urxvt::TERM->ncol }, |
1178 | render => sub { $sep x $self->{term}->ncol }, |
1179 | activate => sub { }, |
1179 | activate => sub { }, |
1180 | }); |
1180 | }); |
1181 | } |
1181 | } |
1182 | |
1182 | |
1183 | sub add_title { |
1183 | sub add_title { |
… | |
… | |
1212 | |
1212 | |
1213 | sub show { |
1213 | sub show { |
1214 | my ($self) = @_; |
1214 | my ($self) = @_; |
1215 | |
1215 | |
1216 | local $urxvt::popup::self = $self; |
1216 | local $urxvt::popup::self = $self; |
|
|
1217 | |
|
|
1218 | local $ENV{LC_ALL} = $self->{term}->locale; |
1217 | |
1219 | |
1218 | urxvt->new ("--perl-lib" => "", "--perl-ext-common" => "", "-pty-fd" => -1, "-sl" => 0, "-b" => 0, |
1220 | urxvt->new ("--perl-lib" => "", "--perl-ext-common" => "", "-pty-fd" => -1, "-sl" => 0, "-b" => 0, |
1219 | "--transient-for" => $self->{term}->parent, |
1221 | "--transient-for" => $self->{term}->parent, |
1220 | "-display" => $self->{term}->display_id, |
1222 | "-display" => $self->{term}->display_id, |
1221 | "-pe" => "urxvt-popup") |
1223 | "-pe" => "urxvt-popup") |