diff --git a/lib/rex/ui/text/output.rb b/lib/rex/ui/text/output.rb index 448d7c02a4..05869acf26 100644 --- a/lib/rex/ui/text/output.rb +++ b/lib/rex/ui/text/output.rb @@ -71,8 +71,8 @@ class Output < Rex::Ui::Output print("\r\033[K" + msg + "\n") if input and input.prompt print("\r\033[K") - print(input.prompt) - print(input.line_buffer) + print(input.prompt.tr("\001\002", '')) + print(input.line_buffer.tr("\001\002", '')) print("\033[u\033[B") # Restore cursor, move down one line end end