Commit 8d4566825cb6b67e939eddb5b96a27bf60477cb2

antirez 2014-03-12T16:28:32

Merge branch 'master' of github.com:/antirez/linenoise

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/linenoise.c b/linenoise.c
index 5d01c1d..172bb39 100644
--- a/linenoise.c
+++ b/linenoise.c
@@ -108,7 +108,7 @@
 
 #define LINENOISE_DEFAULT_HISTORY_MAX_LEN 100
 #define LINENOISE_MAX_LINE 4096
-static char *unsupported_term[] = {"dumb","cons25",NULL};
+static char *unsupported_term[] = {"dumb","cons25","emacs",NULL};
 static linenoiseCompletionCallback *completionCallback = NULL;
 
 static struct termios orig_termios; /* In order to restore at exit.*/