Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Board is misaligned in ChromeOS Terminal #5

Open
taigrr opened this issue Feb 16, 2022 · 2 comments
Open

Board is misaligned in ChromeOS Terminal #5

taigrr opened this issue Feb 16, 2022 · 2 comments

Comments

@taigrr
Copy link

taigrr commented Feb 16, 2022

Please see images below:
image

image

I think this is actually two separate issues.
For the more obvious one, causing the 'white' pawns to be off of the board:
I believe this is due to selective emoji support in the terminal. Some glyphs are printed as, well, glyphs, and others as emojis.

I am not sure how to fix this just yet.

However, the glyph-only rows are also uneven with the rest of the board.

Can we add a command to adjust the whitespace length or something to fix the rendering? (i.e. the user types the spacebar and the width of all squares increase except for those containing a piece).

Sorry, I am just brainstorming here a bit, hopefully this isn't spam.

@maaslalani
Copy link
Owner

Thanks so much for opening up this issue! I will take a look hopefully soon, I imagine we can use the same characters (white pieces) and color then differently depending on the piece.

@maaslalani
Copy link
Owner

The other issue of the font not being monospaced for some characters seems like a terminal / font configuration issue 🤔.

Does the reproduce on different configurations of font and terminals?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants