From f4775be782ef0cd1003190169b539b3ba2367292 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 8 Jun 2013 12:03:31 -0500 Subject: allow running single commands through the repl --- lib/Reply/Plugin/Nopaste.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Reply/Plugin/Nopaste.pm') 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 { -- cgit v1.2.3-54-g00ecf