Lazy commit on <function hostname at 0x7f4d98de4220>.

This commit is contained in:
James Downie 2025-07-03 10:05:56 +10:00
parent 55920d6f44
commit 4266e802b5

View File

@ -34,10 +34,12 @@ def is_repo_status_outdated(repos):
return latest_mtime > last_mtime
def to_keycap(ch: str) -> str:
if ch in '0123456789#*':
return ch + '\uFE0F\u20E3'
else:
raise ValueError(f"Unsupported keycap character: {ch!r}")
# this looked crap on my remote sessions for some reason...
# if ch in '0123456789#*':
# return ch + '\uFE0F\u20E3'
# else:
# raise ValueError(f"Unsupported keycap character: {ch!r}")
return ch
def indicators(props, ind = "tl"):
tl = "\U0001F7E2"