diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-08 12:03:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-08 12:06:41 -0500 |
commit | f4775be782ef0cd1003190169b539b3ba2367292 (patch) | |
tree | fc70528bd046cd197fe6e4dbf96b476255deb663 /lib/Reply/Plugin/Nopaste.pm | |
parent | ca4d93af889b6086deabcdf1825181f46e17957a (diff) | |
download | reply-f4775be782ef0cd1003190169b539b3ba2367292.tar.gz reply-f4775be782ef0cd1003190169b539b3ba2367292.zip |
allow running single commands through the repl
Diffstat (limited to 'lib/Reply/Plugin/Nopaste.pm')
-rw-r--r-- | lib/Reply/Plugin/Nopaste.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Reply/Plugin/Nopaste.pm b/lib/Reply/Plugin/Nopaste.pm index dec0940..566c668 100644 --- a/lib/Reply/Plugin/Nopaste.pm +++ b/lib/Reply/Plugin/Nopaste.pm @@ -70,12 +70,15 @@ sub print_result { sub loop { my $self = shift; + my ($continue) = @_; my $prompt = delete $self->{prompt}; my $line = delete $self->{line}; my $result = delete $self->{result}; $self->{history} .= "$prompt$line$result"; + + $continue; } sub command_nopaste { |