From c9c8937d7fde97e75f4f43029eb87d21b7d8659c Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Tue, 31 Jan 2017 18:21:06 -0800 Subject: [PATCH] Fixed subtle bug in prompt --- lib/Rexec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Rexec.pm b/lib/Rexec.pm index 6db5735..2eecab8 100644 --- a/lib/Rexec.pm +++ b/lib/Rexec.pm @@ -239,7 +239,7 @@ sub ssh { if ($logged_in) { # It's always hard to find the prompt. So let's make a distintive one - $self->{prompt} = '@@@'; + $self->{prompt} = "\n@@@"; $self->{handle} = $remote; # OK this is real tricky. If we call execute with a command of PS1=@@@ -- 2.17.1