notcurses-info: be boring but reliable wrt glyphs

This commit is contained in:
nick black 2021-06-29 05:26:01 -04:00
parent a21113a66a
commit 0d2ed04c1a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -6,11 +6,16 @@
static inline wchar_t static inline wchar_t
capboolbool(unsigned utf8, bool cap){ 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''; return cap ? L'' : L'';
}else{ }else{
return cap ? '+' : '-'; return cap ? '+' : '-';
} }*/
(void)utf8;
return cap ? '+' : '-';
} }
static void static void