From 0464845cff582484e688d4ad7d924292db076c15 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 15 Aug 2020 21:54:58 -0400 Subject: [PATCH] whiteout: disable bidi text until we have solution to #881 --- src/demo/whiteout.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/demo/whiteout.c b/src/demo/whiteout.c index d097be5d1..7d59b0f68 100644 --- a/src/demo/whiteout.c +++ b/src/demo/whiteout.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "demo.h" // Fill up the screen with as much crazy Unicode as we can, and then set a @@ -506,6 +507,10 @@ int witherworm_demo(struct notcurses* nc){ idx += eaten; continue; } + if(uc_bidi_category(wcs)){ // FIXME + idx += eaten; + continue; + } int ulen = 0; int r; if(wcwidth(wcs) <= maxx - x){