BBS-Perm
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/BBS/Perm/Term.pm view on Meta::CPAN
$conf->{opacity} *= 65535 if $conf->{opacity} <= 1;
$term->set_opacity($conf->{opacity});
}
if ( defined $conf->{mouse_autohide} ) {
$term->set_mouse_autohide( $conf->{mouse_autohide} );
}
my $timeout = defined $conf->{timeout} ? $conf->{timeout} : 60;
if ($timeout) {
$term->{timer} = Glib::Timeout->add( 1000 * $timeout,
sub { $term->feed_child( chr 0 ); return TRUE; }, $term );
}
}
sub clean { # called when child exited
my $self = shift;
my ( $current, $new_pos );
$new_pos = $current = $self->{current};
if ( @{ $self->{terms} } > 1 ) {
if ( $current == @{ $self->{terms} } - 1 ) {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.544 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )