Incorrect rendering of X and O
0xDEADC0DER opened this issue · comments
Yusuf Kazi commented
The hardcoded X and O ASCII arts don't render properly on terminals having large font size.
Thomas Mauran commented
Yeah, having the same issue on chess-tui and to fix that you need to manualy zoom in or out of your terminal using ctrl + / - for the moment it is the only effective way to adjust the pieces size
Yusuf Kazi commented
I think using the Canvas widget might help.
The widget allows you to draw arbitrary shapes on the terminal.
Perfect for drawing diagonal lines and circles which are the required shapes for the game.
I am learning ratatui myself, maybe some time later I'll make a PR fixing this problem.
Same goes for chess-tui
Thomas Mauran commented
Good idea, if you wanna make a pr go ahead !