Changed output of repo status a little.

This commit is contained in:
James Downie 2025-09-25 16:08:53 +10:00
parent b0764d2aac
commit dcad97a517

View File

@ -47,9 +47,9 @@ def indicators(props, ind = "tl"):
tl = "\U0001F7E1" tl = "\U0001F7E1"
if props["n"] > 0: if props["n"] > 0:
tl = "\U0001F534" tl = "\U0001F534"
unstaged = "\U0001F4DD" unstaged = "" # "\U0001F4DD"
up_keycap = "\U0001F53C" # "\u2B06\uFE0F" up_keycap = "" # "\U0001F53C" # "\u2B06\uFE0F"
down_keycap = "\U0001F53D" # "\u2B07\uFE0F" down_keycap = "" # "\U0001F53D" # "\u2B07\uFE0F"
status_digit = "##" if props["n"] > 99 else str(props["n"] % 100) status_digit = "##" if props["n"] > 99 else str(props["n"] % 100)
status_indicator = f"{to_keycap(status_digit)}{unstaged}" status_indicator = f"{to_keycap(status_digit)}{unstaged}"
push_digit = "?" push_digit = "?"