Skip to content

Commit 8fc7709

Browse files
committed
Update to use output_color
1 parent 2bb1711 commit 8fc7709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def reset_color():
5858

5959

6060
def with_color(color, text):
61-
return f'\033[9{color}m{text}\033[0m'
61+
return output_color(color) + text + reset_color()
6262

6363

6464
def diag(level, msg, *args):

0 commit comments

Comments
 (0)