Skip to content

Commit 7dd2d3e

Browse files
committed
Fix the prompt again
1 parent a54c0c4 commit 7dd2d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def readline_with_output(prompt, add_history=false)
139139
# for rb-readline to support setting input and output. Output needs to be set so that colorization works for the
140140
# prompt on Windows.
141141
self.prompt = prompt
142-
reset_sequence = "\001\r\033[K\002"
142+
reset_sequence = "\n\001\r\033[K\002"
143143
if (/mingw/ =~ RUBY_PLATFORM)
144144
reset_sequence = ""
145145
end

0 commit comments

Comments
 (0)