diff --git a/lib/rex/ui/text/input.rb b/lib/rex/ui/text/input.rb index cf3aeded674af..5bebb1b16c0d4 100644 --- a/lib/rex/ui/text/input.rb +++ b/lib/rex/ui/text/input.rb @@ -79,6 +79,10 @@ def intrinsic_shell? false end + def tty? + false + end + def update_prompt(new_prompt = '', new_prompt_char = '') self.prompt = new_prompt + new_prompt_char end diff --git a/lib/rex/ui/text/output.rb b/lib/rex/ui/text/output.rb index ef8f8fd030c6c..0cec81a0d4b6f 100644 --- a/lib/rex/ui/text/output.rb +++ b/lib/rex/ui/text/output.rb @@ -86,6 +86,10 @@ def puts(*args) nil end + + def tty? + false + end end end