diff options
-rw-r--r-- | lib/App/Ttyrec.pm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/App/Ttyrec.pm b/lib/App/Ttyrec.pm index e1ac0ae..819fb21 100644 --- a/lib/App/Ttyrec.pm +++ b/lib/App/Ttyrec.pm @@ -43,6 +43,7 @@ has term => ( }, ); }, + handles => ['run'], ); sub BUILD { @@ -52,13 +53,6 @@ sub BUILD { if $self->append; } -sub run { - my $self = shift; - my (@cmd) = @_; - - $self->term->run(@cmd); -} - __PACKAGE__->meta->make_immutable; no Moose; |