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 both a defect report and an enhancement request.
I am interested in displaying right-to-left text and left-to-right text on the
same line.
1) The following examples show that this feature is not yet fully supported:
printf "1) 1Ki \xd7\xa0\xd7\x90\xd7\x9e"
displays "11 (Ki ..." instead of "1) 1Ki ..."
printf "\xd7\xa0\xd7\x90\xd7\x9e Ps (1)"
displays "... (Ps (1" instead of "... Ps (1)".
This defect has to do with the way text is displayed. When I copy the text
displayed by mintty to another application (wordpad) I get the correct results
"1) 1Ki ..." and "... Ps (1)".
I am using the default settings of mintty, except for using the Courier New,
bold, 11-point font. The variable LANG is set to en_US.UTF-8.
2) I think that the present feature of mintty that automatically switches
between right-to-left and left-to-right modes is very helpful when typing text
directly into the terminal window. However, this feature might not be as
convenient when writing programs that display text to the terminal window,
since a program would have to account for the terminal switching between these
two modes in order to get the text displayed correctly.
- It would be helpful to have some escape sequences, or some other way, to
disable the automatic switch between right-to-left and left-to-right mode.
- It would be nice also to have a way to tell the terminal the direction in
which the text should be displayed. This of course should override the function
of the terminal that determines automatically the direction of the text.
Original issue reported on code.google.com by [email protected] on 14 Jun 2013 at 4:59
For the records: There are Unicode characters defined to provide such control.
Implementation would require enhancement of the minibidi module, or maybe its replacement with freebidi might solve the issue.
While implementing partial support for bidi markers, it became apparent that this is not sufficient to control absolute positioning. A switching sequence may be added.
Activity
mintty commentedon May 2, 2016
For the records: There are Unicode characters defined to provide such control.
Implementation would require enhancement of the minibidi module, or maybe its replacement with freebidi might solve the issue.
support bidi implicit, override, embedding, isolate marks (#392, ~#605)
mintty commentedon Apr 12, 2017
While implementing partial support for bidi markers, it became apparent that this is not sufficient to control absolute positioning. A switching sequence may be added.
option and escape sequences to disable bidi (#592, #392, ~#605)
mintty commentedon Apr 13, 2017
Released 2.7.6.
fix bidi display while showing other screen with Bidi=1 (#592, ~#392, ~…
mintty commentedon May 19, 2017
Released 2.7.7.