From cc1e6230c88048f9c497bf11eacf1658d9adbd95 Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Fri, 20 Dec 2019 14:58:41 -0500 Subject: [PATCH] ncurses: tentatively fix tty output --- output/terminal_ncurses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/terminal_ncurses.c b/output/terminal_ncurses.c index e2e1bc0..071d3f6 100644 --- a/output/terminal_ncurses.c +++ b/output/terminal_ncurses.c @@ -221,7 +221,7 @@ int flastd[200], int gradient) { for (int col = cur_col, i = 0; i < bar_width; i++, col++) { if (is_tty) { - mvaddch(height - y, col, '0' + bar_step); + mvaddch(height - y, col, '1' + bar_step); } else { mvaddwstr(height - y, col, bar_heights[bar_step]); }