ncurses: tentatively fix tty output

master
Tudor Brindus 6 years ago
parent ccd3a88d24
commit cc1e6230c8
  1. 2
      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++) { for (int col = cur_col, i = 0; i < bar_width; i++, col++) {
if (is_tty) { if (is_tty) {
mvaddch(height - y, col, '0' + bar_step); mvaddch(height - y, col, '1' + bar_step);
} else { } else {
mvaddwstr(height - y, col, bar_heights[bar_step]); mvaddwstr(height - y, col, bar_heights[bar_step]);
} }

Loading…
Cancel
Save