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 #