diff options
author | Vincent Lefevre <vincent@vinc17.net> | 2017-03-31 17:29:35 +0200 |
---|---|---|
committer | Vincent Lefevre <vincent@vinc17.net> | 2017-03-31 17:29:35 +0200 |
commit | a6d0c40161fb52b3d8415cb838f8bd768be97481 (patch) | |
tree | aa9d0600a5590b68b405f7305e9fc03e0acd2b7e | |
parent | 5a06b9eaa990079b7ec6438c165cc5424be22482 (diff) |
Filter other directional markers that corrupt the screen.
-rw-r--r-- | mbyte.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -531,6 +531,8 @@ int is_display_corrupting_utf8 (wchar_t wc) 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; |