diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-26 19:05:23 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-26 19:05:23 -0800 |
commit | a02e590249a5c39ef4cfb59fe2e54fcf3076d19b (patch) | |
tree | fd91dd0b41258dd416e94a276ce2c0e258a8918c | |
parent | 8fe2aaae25d3a3f4d907c8b1a3deda3e3780bb1b (diff) | |
download | txr-a02e590249a5c39ef4cfb59fe2e54fcf3076d19b.tar.gz txr-a02e590249a5c39ef4cfb59fe2e54fcf3076d19b.tar.bz2 txr-a02e590249a5c39ef4cfb59fe2e54fcf3076d19b.zip |
linenoise: raise line length from 1023 to 4095.
* linenoise.c (LINENOISE_MAX_LINE): Change to 4096.
* txr.1: Updated.
-rw-r--r-- | linenoise/linenoise.c | 2 | ||||
-rw-r--r-- | txr.1 | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/linenoise/linenoise.c b/linenoise/linenoise.c index aef49384..01b6b53d 100644 --- a/linenoise/linenoise.c +++ b/linenoise/linenoise.c @@ -78,7 +78,7 @@ #endif #define LINENOISE_DEFAULT_HISTORY_MAX_LEN 100 -#define LINENOISE_MAX_LINE 1024 +#define LINENOISE_MAX_LINE 4096 #define LINENOISE_MAX_DISP (LINENOISE_MAX_LINE * 2) #define LINENOISE_PAREN_DELAY 400000 #define LINENOISE_FLASH_DELAY 200000 @@ -64488,9 +64488,8 @@ entered into the history. .SS* Limitations -The interactive listener can only accept up to 1023 abstract characters of -input in a single command line which have a combined display width of up to -2047 character positions, whichever is less. +The interactive listener can only accept up to 4095 abstract characters of +input in a single command line. Though the edit buffer is referred as the "command line", it may contain multi-line input. The carriage return characters which separate multiple lines |