Merge pull request #304 from Xyene/ncurses-tty

ncurses: tentatively fix tty output
master
karl 6 years ago committed by GitHub
commit 75c28be362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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++) {
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]);
}

Loading…
Cancel
Save