Skip to content

Commit 0e4a8e1

Browse files
committed
Resolves #12
1 parent b1b037e commit 0e4a8e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytgpt/console.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ def timeout_handler(signum, frame):
11661166
clear_history_file(filepath, new)
11671167
prompt = Optimizers.code(prompt) if code else prompt
11681168
prompt = Optimizers.shell_command(prompt) if shell else prompt
1169-
busy_bar.spin_index = busy_bar_index
1169+
busy_bar.spin_index = 0 if quiet else busy_bar_index
11701170
bot.code_theme = code_theme
11711171
bot.color = font_color
11721172
bot.prettify = prettify
@@ -1350,7 +1350,7 @@ def main(*args):
13501350
sys.argv += list(args)
13511351
args = sys.argv
13521352
if len(args) == 1:
1353-
sys.argv.insert(1, "interactive") # Just a hack to make default command
1353+
sys.argv.insert(1, "interactive") # Just a hack to make default command
13541354
tgpt2_()
13551355

13561356

0 commit comments

Comments
 (0)