From 8388783947c13486804c82d83342a1a20ce7d46a Mon Sep 17 00:00:00 2001 From: James Downie Date: Tue, 16 Sep 2025 16:05:50 +1000 Subject: [PATCH] Lazy commit on yancy. --- jdownie/repo/repo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jdownie/repo/repo b/jdownie/repo/repo index 1f4e1ba..bada39d 100755 --- a/jdownie/repo/repo +++ b/jdownie/repo/repo @@ -50,16 +50,16 @@ def indicators(props, ind = "tl"): unstaged = "\U0001F4DD" up_keycap = "\U0001F53C" # "\u2B06\uFE0F" down_keycap = "\U0001F53D" # "\u2B07\uFE0F" - status_digit = "#" if props["n"] > 9 else str(props["n"] % 10) + status_digit = "##" if props["n"] > 99 else str(props["n"] % 100) status_indicator = f"{to_keycap(status_digit)}{unstaged}" push_digit = "?" push_indicator = f" {up_keycap}" pull_digit = "?" pull_indicator = f" {down_keycap}" if "ab" in props.keys(): - push_digit = "#" if props["ab"]["push"] > 9 else str(props["ab"]["push"] % 10) + push_digit = "##" if props["ab"]["push"] > 99 else f"{props["ab"]["push"] % 100:2d}" push_indicator = f"{to_keycap(push_digit)}{up_keycap}" - pull_digit = "#" if props["ab"]["pull"] > 9 else str(props["ab"]["pull"] % 10) + pull_digit = "##" if props["ab"]["pull"] > 99 else f"{props["ab"]["pull"] % 100:2d}" pull_indicator = f"{to_keycap(pull_digit)}{down_keycap}" ret = "?" if ind == "tl":