changeset: 6985:6fb6021389c8
user: Vincent Lefevre <[email protected]>
date: Fri Mar 31 17:29:35 2017 +0200
link: http://dev.mutt.org/hg/mutt/rev/6fb6021389c8
Filter other directional markers that corrupt the screen.
diffs (12 lines):
diff -r 4c7881c441e7 -r 6fb6021389c8 mbyte.c
--- a/mbyte.c Mon Mar 27 11:46:26 2017 -0700
+++ b/mbyte.c Fri Mar 31 17:29:35 2017 +0200
@@ -531,6 +531,8 @@
wc == (wchar_t)0x200e ||
wc == (wchar_t)0x00ad || /* soft hyphen: #3848 */
wc == (wchar_t)0xfeff || /* zero width no-break space */
+ (wc >= (wchar_t)0x2066 && /* misc directional markers */
+ wc <= (wchar_t)0x2069) ||
(wc >= (wchar_t)0x202a && /* misc directional markers: #3854 */
wc <= (wchar_t)0x202e))
return 1;