Lazy commit on <function hostname at 0x7f4d98de4220>.
This commit is contained in:
parent
55920d6f44
commit
4266e802b5
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user