From 93b811a051387acf4b9c4ddb8c1ee8c59118f3cc Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 25 Aug 2015 17:40:36 +0200 Subject: use ASCII blank even for graphical meter in UTF-8 mode If the terminal has no font with braille characters we see... Nothing useful. Use an ASCII blank at least, so we have an idea about what's going on. --- Meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Meter.c') diff --git a/Meter.c b/Meter.c index cc661e6a..cf4560fe 100644 --- a/Meter.c +++ b/Meter.c @@ -312,7 +312,7 @@ static void BarMeterMode_draw(Meter* this, int x, int y, int w) { #define PIXPERROW_UTF8 4 static const char* GraphMeterMode_dotsUtf8[] = { - /*00*/"⠀", /*01*/"⢀", /*02*/"⢠", /*03*/"⢰", /*04*/ "⢸", + /*00*/" ", /*01*/"⢀", /*02*/"⢠", /*03*/"⢰", /*04*/ "⢸", /*10*/"⡀", /*11*/"⣀", /*12*/"⣠", /*13*/"⣰", /*14*/ "⣸", /*20*/"⡄", /*21*/"⣄", /*22*/"⣤", /*23*/"⣴", /*24*/ "⣼", /*30*/"⡆", /*31*/"⣆", /*32*/"⣦", /*33*/"⣶", /*34*/ "⣾", -- cgit v1.2.3