opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
816 stars 274 forks source link

RTL Symbols Break Rich Tables #2081

Open gztensor opened 5 days ago

gztensor commented 5 days ago

The solution to this problem is found: We need to append the RTL symbol with corresponding control character:

sn_symbol = f"{bt.Balance.get_unit(subnet.netuid)}\u200E"

But the issue is more complex: It doesn't reproduce on all terminals, and even zsh on MacOS on different machines behave differently. I am creating this issue so that we can find the steps to reproduce and document properly. Perhaps, include it in the test plan/scenarios. Below is the example of what to expect:

Image