Stop spamming the log from bg.
authorScott <[email protected]>
Thu, 3 Feb 2022 07:36:39 +0000 (23:36 -0800)
committerScott <[email protected]>
Thu, 3 Feb 2022 07:36:39 +0000 (23:36 -0800)
ansi.py

diff --git a/ansi.py b/ansi.py
index c13e3522fe187efad36ae73de6d174ee76c4b2aa..02741e1f7fde542568883787084eaee726d0a79a 100755 (executable)
--- a/ansi.py
+++ b/ansi.py
@@ -1838,6 +1838,7 @@ def guess_name(name: str) -> str:
     return best_guess
 
 
+@logging_utils.squelch_repeated_log_messages(1)
 def bg(
     name: Optional[str] = "",
     red: Optional[int] = None,