summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-26 19:05:23 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-26 19:05:23 -0800
commita02e590249a5c39ef4cfb59fe2e54fcf3076d19b (patch)
treefd91dd0b41258dd416e94a276ce2c0e258a8918c
parent8fe2aaae25d3a3f4d907c8b1a3deda3e3780bb1b (diff)
downloadtxr-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.c2
-rw-r--r--txr.15
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