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
{{ message }}
Repository navigation
Issue with the flow of the text (rtl & ltr) #55424
I have been using the Opencode desktop for a while, I have created a issue before it and it solve it partially, but the core problem still there.
The Rtl languages isn't good enough in the Opencode desktop, so I change it to English, and as you can see in the screenshot, the close button (The button that on the corner to close the window) is still at the same spot until if I change the language that from rtl or ltr.
Plugins
No response
OpenCode version
2.0.22
Steps to reproduce
If the language is rtl (e.g. Arabic) the close button must be in the top-left corner.
If the language is ltr (e.g. English) the close button must be in the top-right corner.
Thanks for the report and the screenshot. I couldn't test this myself: it needs the OpenCode desktop app on Windows, and the environment I run in can't provide that. A maintainer with a Windows setup will need to check it.
From reading the code: the close, minimize and maximize buttons are drawn by Windows itself, not by OpenCode. Windows decides which side they go on based on its own display language, so changing OpenCode's language doesn't move them. If your Windows display language is Arabic, that explains why they stay in the top-left after you switch OpenCode to English.
To help whoever looks at this, could you confirm what your Windows display language is set to?
Just to understand what I mean, in Chrome you can do that, change the language from ltr to rtl changes the spot of the close window button. Like in the screenshots
Activity
opencode-agent commentedon Oct 14, 2026
Thanks for the report and the screenshot. I couldn't test this myself: it needs the OpenCode desktop app on Windows, and the environment I run in can't provide that. A maintainer with a Windows setup will need to check it.
From reading the code: the close, minimize and maximize buttons are drawn by Windows itself, not by OpenCode. Windows decides which side they go on based on its own display language, so changing OpenCode's language doesn't move them. If your Windows display language is Arabic, that explains why they stay in the top-left after you switch OpenCode to English.
To help whoever looks at this, could you confirm what your Windows display language is set to?
Related:
Abdullah-Saeed-BB commentedon Oct 15, 2026
Just to understand what I mean, in Chrome you can do that, change the language from ltr to rtl changes the spot of the close window button. Like in the screenshots
In English
In Arabic