bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

RTL Symbols Break Rich Tables

Open gztensor opened this issue 7 months ago • 0 comments

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

gztensor avatar Jun 27 '24 22:06 gztensor