We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a04174 commit f0c972aCopy full SHA for f0c972a
src/pytgpt/console.py
@@ -1167,7 +1167,9 @@ def timeout_handler(signum, frame):
1167
clear_history_file(filepath, new)
1168
prompt = Optimizers.code(prompt) if code else prompt
1169
prompt = Optimizers.shell_command(prompt) if shell else prompt
1170
- busy_bar.spin_index = 0 if quiet else busy_bar_index
+ busy_bar.spin_index = (
1171
+ 0 if any([quiet, sys.stdout.isatty() == False]) else busy_bar_index
1172
+ )
1173
bot.code_theme = code_theme
1174
bot.color = font_color
1175
bot.prettify = prettify
0 commit comments