From f056b9437f672fffe23be1ee7537cfad7d79cb1e Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 27 Jun 2008 20:07:53 +0000 Subject: [PATCH] Revert this again, breaks meterpreter console git-svn-id: file:///home/svn/framework3/trunk@5543 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/ui/text/input/readline.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rex/ui/text/input/readline.rb b/lib/rex/ui/text/input/readline.rb index c7f4e59a3d..561c592f50 100644 --- a/lib/rex/ui/text/input/readline.rb +++ b/lib/rex/ui/text/input/readline.rb @@ -75,7 +75,8 @@ begin # def pgets - if(Rex::Compat.is_windows()) + # if(Rex::Compat.is_windows()) + if(true) output.prompting line = ::Readline.readline(prompt, true) HISTORY.pop if (line and line.empty?)