-
Notifications
You must be signed in to change notification settings - Fork 204
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
RTL languages messes the layout! #167
Comments
This is most likely a multi-layered issue, but we really do need better RTL support in Lip Gloss. It's hard to say exactly where the problem for this lies, but my guess is that go-runewidth isn't returning the correct width for Arabic glyphs. Also bear in mind that some terminals do a better job with Arabic than others (Kitty, in my experience, is excellent whilst many others seems to struggle). What terminal are you using in your screenshot? Another note here: I've seen some frameworks, like QT, provide the option mirror the UI for RTL. So that's potentially a parallel feature that could make sense in either Lip Gloss or Bubble Tea. |
I am trying to render arabic text which is
rtl
, the problem is that it always messes the layout of the viewport.The EN version :
The AR version :
I have a list of text, rendering happens line by line as follows :
I also tried to :
The text was updated successfully, but these errors were encountered: