Skip to content

Commit 78781be

Browse files
committed
Set readline output to non-prompting on method exit
1 parent 3a2b5ce commit 78781be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rex/ui/text/input/readline.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def pgets
100100
::Readline::HISTORY.pop if (line and line.empty?)
101101
ensure
102102
Thread.current.priority = orig || 0
103+
output.prompting(false)
103104
end
104105

105106
line

0 commit comments

Comments
 (0)