From 0d2ed04c1af6fb53601fdf8051a91d2f3968b503 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 29 Jun 2021 05:26:01 -0400 Subject: [PATCH] notcurses-info: be boring but reliable wrt glyphs --- src/info/main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/info/main.c b/src/info/main.c index 286048545..972cab431 100644 --- a/src/info/main.c +++ b/src/info/main.c @@ -6,11 +6,16 @@ static inline wchar_t capboolbool(unsigned utf8, bool cap){ - if(utf8){ + // FIXME these fancy glyphs aren't reliable enough yet (they're not + // usually present on the linux console, for instance) for such an + // essential, must-work-everywhere tool. + /*if(utf8){ return cap ? L'✓' : L'✖'; }else{ return cap ? '+' : '-'; - } + }*/ + (void)utf8; + return cap ? '+' : '-'; } static void