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
Culprit appears to be adb1d94: toAnsi converts to alternate charset, but fromAnsi does not convert back. Setting DISABLE_ALTERNATE_CHARSET fixes the issue.
The implication of this is that it is not possible to use AttributedString to set prompt, because there is always round-trip conversion involved.
The text was updated successfully, but these errors were encountered:
uosis
changed the title
AttributedString fromAnsi <-> toAnsi does not round-trip correctly for box chars
AttributedString fromAnsi <-> toAnsi does not round-trip convert correctly for box chars
Oct 29, 2022
gnodet
added a commit
to gnodet/jline3
that referenced
this issue
Mar 3, 2023
This prints garbage instead of "─".
Culprit appears to be adb1d94:
toAnsi
converts to alternate charset, butfromAnsi
does not convert back. SettingDISABLE_ALTERNATE_CHARSET
fixes the issue.The implication of this is that it is not possible to use
AttributedString
to set prompt, because there is always round-trip conversion involved.The text was updated successfully, but these errors were encountered: