linenoise: update to latest version
modified external/linenoise/linenoise.c
@@ -197,6 +197,7 @@ struct current {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -426,8 +427,11 @@ fatal:
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -436,14 +440,14 @@ fatal:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -535,25 +539,31 @@ void linenoiseClearScreen(void)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -571,7 +581,11 @@ static int fd_read(struct current *current)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -587,7 +601,7 @@ static int fd_read(struct current *current)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -600,6 +614,15 @@ static int queryCursor(struct current *current, int* cols)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -609,7 +632,7 @@ static int queryCursor(struct current *current, int* cols)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -620,11 +643,14 @@ static int queryCursor(struct current *current, int* cols)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -691,9 +717,9 @@ static int getWindowSize(struct current *current)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -704,7 +730,7 @@ static int check_special(int fd)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -727,7 +753,7 @@ static int check_special(int fd)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -746,7 +772,7 @@ static int check_special(int fd)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1539,7 +1565,7 @@ static int reverseIncrementalSearch(struct current *current)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1651,7 +1677,7 @@ static int linenoiseEdit(struct current *current) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|