Unverified Commit eff2e3e0 authored by Gavin Brown's avatar Gavin Brown
Browse files

print a newline when we get a ^D

parent 1c19866f
......@@ -288,12 +288,16 @@ if ($opt->{'exec'} ne '') {
$interactive = 1;
#
# main loop
#
my $last;
while (1) {
$prompt = sprintf('pepper (%s@%s)> ', $epp->{'user'}, $epp->{'host'}) if ($epp->authenticated);
my $command = $term->readline($prompt);
if (!defined($command)) {
print "\n";
last;
} elsif ($command ne '') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment