aboutsummaryrefslogtreecommitdiff
path: root/src/calculer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calculer.c')
-rw-r--r--src/calculer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calculer.c b/src/calculer.c
index 8d13052..be11895 100644
--- a/src/calculer.c
+++ b/src/calculer.c
@@ -25,7 +25,7 @@
#include <time.h>
#include <unistd.h>
-#include "linenoise.h"
+#include "_readline.h"
static int lower = 0;
static int upper = 100;
@@ -169,7 +169,7 @@ main(int argc, char *argv[])
sprintf(prompt, "%d + %d = ", x, y);
void *measure_data = measure_before();
- input = linenoise(prompt);
+ input = readline(prompt);
if ((!input) || (*input == '\0'))
{