send output through InputOutput

This commit is contained in:
Krazer 2024-09-06 17:35:55 -05:00
parent 304566a914
commit 11020c8aee
4 changed files with 34 additions and 23 deletions

View file

@ -562,8 +562,7 @@ class Commands:
"HEAD",
)
# don't use io.tool_output() because we don't want to log or further colorize
print(diff)
self.io.print(diff)
def quote_fname(self, fname):
if " " in fname and '"' not in fname:
@ -1030,9 +1029,9 @@ class Commands:
if text:
self.io.add_to_input_history(text)
print()
self.io.print()
self.io.user_input(text, log_only=False)
print()
self.io.print()
return text