remind about suggesting shell commands

This commit is contained in:
Paul Gauthier 2024-08-21 09:08:08 -07:00
parent 454d0206bc
commit c351d76c2b
2 changed files with 10 additions and 1 deletions

View file

@ -333,7 +333,7 @@ class InputOutput:
log_file.write(content + "\n")
def user_input(self, inp, log_only=True):
if not log_only:
if not log_only and self.pretty:
style = dict(style=self.user_input_color) if self.user_input_color else dict()
self.console.print(Text(inp), **style)