Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
pepper
Commits
eff2e3e0
Unverified
Commit
eff2e3e0
authored
May 11, 2017
by
Gavin Brown
Browse files
print a newline when we get a ^D
parent
1c19866f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pepper
View file @
eff2e3e0
...
...
@@ -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
''
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment