From a02e590249a5c39ef4cfb59fe2e54fcf3076d19b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 26 Feb 2019 19:05:23 -0800 Subject: linenoise: raise line length from 1023 to 4095. * linenoise.c (LINENOISE_MAX_LINE): Change to 4096. * txr.1: Updated. --- linenoise/linenoise.c | 2 +- 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 diff --git a/txr.1 b/txr.1 index 5b1dd2de..e21400ac 100644 --- a/txr.1 +++ b/txr.1 @@ -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 -- cgit v1.2.3