tulir / mauview

A Go TUI library based on tcell.
Mozilla Public License 2.0
48 stars 7 forks source link

Add a Left-to-Right mark to prevent breaking interface with RTL text #5

Open bjesus opened 4 years ago

bjesus commented 4 years ago

Hello! I was wondering if it would be possible to add a Left-to-Right Unicode mark to the border symbols, as it would prevent breaking of the interface when it prints Right-to-Left text on an RTL-supported terminal.

That's what happens currently when the terminal flips the whole line to RTL mode. screenshot_2020-09-01_11-33-41_079385378

Adding this LTR mark basically just means printing \u200e before each border symbol and should have no effect, AFAIK, on LTR-only users.

Thank you!