Skip to content

Commit

Permalink
Disable emoji on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed May 8, 2024
1 parent ccc14b1 commit a2c22df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion comfy_cli/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

is_windows = platform.system() == "Windows"

# Disable emoji on Windows because old Windows terminals don't support emoji.
console = Console(
emoji=is_windows,
emoji=not is_windows,
)

0 comments on commit a2c22df

Please sign in to comment.