tig icon indicating copy to clipboard operation
tig copied to clipboard

Right-to-left text glitch in main view

Open krobelus opened this issue 3 years ago • 2 comments

Just noticed this - I'll take a close look later.

Reproduce with this repo: https://github.com/pypa/pip run tig 8add29f9605725d6b09784ca0fa8218c16829826

This commit is displayed as

‮                Better formatting

Which is reversed for some reason. The subject should say

Better formatting
  • Tig 2.5.3
  • ncursesw version 6.2.20200212
  • readline version 8.1

krobelus avatar Mar 22 '21 20:03 krobelus

It doesn't happen on macOS but maybe this has to do with the author having fun with Right-to-Left override:

commit 8add29f9605725d6b09784ca0fa8218c16829826
Author: <U+202E>rekcäH nitraM<U+202E> <[email protected]>

koutcher avatar Jul 11 '21 20:07 koutcher

Similar problems occur when displaying arabic characters, like e.g. in the MSYS2 package repo under Windows: tig-right-to-left

bbolli avatar Nov 20 '22 16:11 bbolli