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

Nicks with wide characters are not rendered with correct tabulation #522

Open
bqv opened this issue Jul 8, 2021 · 1 comment
Open

Nicks with wide characters are not rendered with correct tabulation #522

bqv opened this issue Jul 8, 2021 · 1 comment

Comments

@bqv
Copy link

bqv commented Jul 8, 2021

Hello.

Using weechat for a niche circumstance (xmpp, http://github.com/bqv/weechat-xmpp by me).

I see a user with hanzi characters in their name, looks like it breaks your expectations and therefore rendering. Any chance of a fix?

20210708_181749272_7506

Thanks

@oakkitten
Copy link
Collaborator

this is an issue that might be a bit hard to fix. currently the whole line is printed in one stroke; we'd need to draw the prefix separately to address this. this might require a bit of change. another problem is, the nickname might not fit the allotted space and some logic will be required to cut it up. fixing this would allow using proportional fonts with the text alignment as in the screenshot, which would be quite nice

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

No branches or pull requests

2 participants