whiteout: disable bidi text until we have solution to #881

pull/893/head
nick black 4 years ago
parent b5d93077f1
commit 0464845cff
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -5,6 +5,7 @@
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
#include <unictype.h>
#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){

Loading…
Cancel
Save