commit 7ed38b94e328cf24df2fc4dd4db9623ffd32cecf
parent ac0a89ee427ac2d53b559725297bcded9abe3fc5
Author: Antoni Sawicki <as@tenoware.com>
Date: Tue, 16 Oct 2018 01:06:27 -0700
make curses instead of ncurses for old oses
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -2,7 +2,7 @@
all: ttyplot
ttyplot: ttyplot.c
- gcc ttyplot.c -o ttyplot -Wall -O3 -lncurses
+ gcc ttyplot.c -o ttyplot -Wall -O3 -lcurses
clean:
rm -f ttyplot
diff --git a/ttyplot.c b/ttyplot.c
@@ -4,7 +4,7 @@
#include <unistd.h>
#include <float.h>
#include <time.h>
-#include <ncurses.h>
+#include <curses.h>
#include <signal.h>
#define verstring "github.com/tenox7/ttyplot 1.0"