Skip to content

Commit

Permalink
Merge pull request #19710 from szymonj99/set-prompitng-false
Browse files Browse the repository at this point in the history
Set readline output to non-prompting on method exit
  • Loading branch information
smcintyre-r7 authored Dec 11, 2024
2 parents a63fa68 + 78781be commit c3cf56f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rex/ui/text/input/readline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3cf56f

Please sign in to comment.