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
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 have tested almost all the available terminals out there for linux ofc, the one in the screenshot is termite, but there almost no difference between them all.
here is kitty :
I don't know if go-runewidth returns wrong length, but the weird thing is that the windows terminal (the newer version), just displays the text almost perfectly :
I don't know what could possibly be the solution :'(
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: