Commit 3cc30b1b2a2530ceb608aec40a56de47f13f262a

Salvatore Sanfilippo 2014-03-12T16:23:24

Merge pull request #48 from nickg/emacs Add "emacs" to unsupported_term

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.*/