Initial project setup

This commit is contained in:
martin legrand
2025-04-01 18:49:37 +02:00
parent 698ed78acc
commit 56b5db7df3
13 changed files with 211 additions and 38 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ def get_color_map():
}
return color_map
def pretty_print(text, color="info"):
def pretty_print(text, color="info", no_newline=False):
"""
Print text with color formatting.
@@ -56,7 +56,7 @@ def pretty_print(text, color="info"):
color_map = get_color_map()
if color not in color_map:
color = "info"
print(colored(text, color_map[color]))
print(colored(text, color_map[color]), end='' if no_newline else "\n")
def animate_thinking(text, color="status", duration=120):
"""