diff --git a/lib/rex/ui/text/input/readline.rb b/lib/rex/ui/text/input/readline.rb index 85ca9d121805..4fb32751c5b8 100644 --- a/lib/rex/ui/text/input/readline.rb +++ b/lib/rex/ui/text/input/readline.rb @@ -100,6 +100,7 @@ def pgets ::Readline::HISTORY.pop if (line and line.empty?) ensure Thread.current.priority = orig || 0 + output.prompting(false) end line