Skip to content

Commit c3cf56f

Browse files
authored
Merge pull request rapid7#19710 from szymonj99/set-prompitng-false
Set readline output to non-prompting on method exit
2 parents a63fa68 + 78781be commit c3cf56f

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)