From 55a7da67db40e79bdf106bc26b6d4de2db04db38 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 22 Jun 2025 10:19:46 +0100 Subject: [PATCH] reword --- obsws_cli/util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/obsws_cli/util.py b/obsws_cli/util.py index 7132582..ba9a0d4 100644 --- a/obsws_cli/util.py +++ b/obsws_cli/util.py @@ -13,10 +13,10 @@ def check_mark(value: bool, empty_if_false: bool = False) -> str: if empty_if_false and not value: return '' - # For all other output rich gracefully handles colourless output - # but here we must handle it manually - # If NO_COLOR is set, return simple check or cross marks - # Otherwise, return colored check or cross marks + # rich gracefully handles the absence of colour throughout the rest of the application, + # but here we must handle it manually. + # If NO_COLOR is set, we return plain text symbols. + # Otherwise, we return coloured symbols. if os.getenv('NO_COLOR', '') != '': return '✓' if value else '✗' return '✅' if value else '❌'