diff options
author | Kevin McCarthy <kevin@8t8.us> | 2022-05-25 09:53:07 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2022-05-25 09:53:07 -0700 |
commit | 67bb3d353f80eef39763acc9277caee5adc63f48 (patch) | |
tree | 6a31634e7ca771391a1b6a2033a330d76c03083b | |
parent | ceb6c4fc71f7cbb5e98e7eb61225525d1ace8ef9 (diff) |
Filter Arabic Letter Mark due to display corruption.
Under GNU Screen, the directional marker causes display corruption in
the index.
This (along with past filters added) should perhaps be considered GNU
Screen bugs. They've been reported upstream a while ago, but so far
not received any attention. So for Mutt users' benefit it's better to
filter them out for now.
Thanks to Vincent Lefèvre for debugging and reporting the problem,
along with providing historical information from similar past issues.
-rw-r--r-- | mbyte.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -534,7 +534,8 @@ int is_display_corrupting_utf8 (wchar_t wc) (wc >= (wchar_t)0x2066 && /* misc directional markers */ wc <= (wchar_t)0x2069) || (wc >= (wchar_t)0x202a && /* misc directional markers: #3854 */ - wc <= (wchar_t)0x202e)) + wc <= (wchar_t)0x202e) || + wc == (wchar_t)0x061c) /* arabic letter mark: gitlab #413 */ return 1; else return 0; |