From cac9561b6177eb2920ffa3dbc0b6fc344a0e69a5 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Tue, 1 Aug 2006 01:50:26 +0000 Subject: [PATCH] Bug fix for previous workaround git-svn-id: file:///home/svn/framework3/trunk@3799 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/ui/interactive.rb | 8 +++++--- lib/rex/ui/text/input.rb | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/rex/ui/interactive.rb b/lib/rex/ui/interactive.rb index a901557df4..d41ac81068 100644 --- a/lib/rex/ui/interactive.rb +++ b/lib/rex/ui/interactive.rb @@ -25,8 +25,9 @@ module Interactive eof = false - # Start the readline stdin monitor - user_input.readline_start() if user_input.supports_readline + # Start the readline stdin monitor + # XXX disabled + # user_input.readline_start() if user_input.supports_readline # Handle suspend notifications handle_suspend @@ -60,7 +61,8 @@ module Interactive _interact_complete if (eof == true) # Shutdown the readline thread - user_input.readline_stop() if user_input.supports_readline + # XXX disabled + # user_input.readline_stop() if user_input.supports_readline # Return whether or not EOF was reached return eof diff --git a/lib/rex/ui/text/input.rb b/lib/rex/ui/text/input.rb index 9292f65131..374fe798e4 100644 --- a/lib/rex/ui/text/input.rb +++ b/lib/rex/ui/text/input.rb @@ -25,7 +25,7 @@ class Input # Whether or not the input medium supports readline. # def supports_readline - false + true end #