ttyplot

Realtime terminal plotter
git clone git://git.sgregoratto.me/ttyplot
Log | Files | Refs | README | LICENSE

commit 60fd0d751d602a1e6359b4cb2a15e0729c8ef7cb
parent e3a230acc74c39d255388b16741161b0fdf0d802
Author: Antoni Sawicki <as@tenoware.com>
Date:   Tue, 23 Oct 2018 00:45:29 -0700

replaced mvchgat with mvaddch for better compatibility

Diffstat:
Mttyplot.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ttyplot.c b/ttyplot.c @@ -230,7 +230,7 @@ int main(int argc, char *argv[]) { printw(" interval=%ds", td); if(two) { - mvchgat(height-1, 5, 1, A_REVERSE, 0, NULL); + mvaddch(height-1, 5, ' '|A_REVERSE); mvprintw(height-1, 7, "last=%.1f min=%.1f max=%.1f avg=%.1f %s ", values2[n], min2, max2, avg2, unit); }