You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started up TelegramTUI and noticed that users with emoji in their names will offset the borders in the user window and spill out into the main chat window.
Example:
I've had a similar problem with another application I've helped develop. The problem there was that unicode emoji are multibyte characters, leading the drawing routines to miscalculate borders. To fix this, I switched to a curses based interface which uses windows. The worst case scenario in that case would be that the text would wrap around to the next line. So I suggest switching to curses and accounting for multibyte characters.
The text was updated successfully, but these errors were encountered:
@dragos240 what are you using to show emojis in CLI? I'm "shopping" around a little atm to find one that fits me best, but I'm curious to what you're using.
I just started up TelegramTUI and noticed that users with emoji in their names will offset the borders in the user window and spill out into the main chat window.
Example:
I've had a similar problem with another application I've helped develop. The problem there was that unicode emoji are multibyte characters, leading the drawing routines to miscalculate borders. To fix this, I switched to a curses based interface which uses windows. The worst case scenario in that case would be that the text would wrap around to the next line. So I suggest switching to curses and accounting for multibyte characters.
The text was updated successfully, but these errors were encountered: