Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions bittensor_cli/src/commands/subnets/subnets.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,17 @@ def _create_table(subnets_, block_number_):

for subnet in subnets_:
netuid = subnet.netuid
# The default symbols for 123 and 124 are visually identical:
# 123: 𑀀
# 124: 𑀁
# and the symbol for 125 is basically a colon
# 125: 𑀂
# however, because they're in Brahmi, which very few fonts support, they don't render properly
# This patches them.
replacements = {69632: "˙", 69633: "˙", 69634: ":"}
if (sso := ord(subnet.symbol)) in replacements.keys():
subnet.symbol = replacements[sso]

symbol = f"{subnet.symbol}\u200e"

if netuid == 0:
Expand Down
Loading