mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
notcurses-info: be boring but reliable wrt glyphs
This commit is contained in:
parent
a21113a66a
commit
0d2ed04c1a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user