aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-02-19 13:05:33 +0000
committerstephan <stephan@noemail.net>2025-02-19 13:05:33 +0000
commiteb0d2e7bc6b9ef56cea4e85cfb56b2d194befd5d (patch)
treed338b11c9eec98d6fb8ec0c734b301bf837d86f6 /src
parent2e132a4c04563e9fc0c3369e82564c77d8c53f94 (diff)
downloadsqlite-eb0d2e7bc6b9ef56cea4e85cfb56b2d194befd5d.tar.gz
sqlite-eb0d2e7bc6b9ef56cea4e85cfb56b2d194befd5d.zip
Increase default CLI shell .prompt buffer length to 128 bytes, based on discussion in [forum:362f185a6aa|forum post 362f185a6aa].
FossilOrigin-Name: 628407f03d4bfb7499f0e6e2197089edf859380a3c4e6fecc517390327718141
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 2337504a6..f12d360b9 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -470,7 +470,7 @@ static char *Argv0;
** Prompt strings. Initialized in main. Settable with
** .prompt main continue
*/
-#define PROMPT_LEN_MAX 20
+#define PROMPT_LEN_MAX 128
/* First line prompt. default: "sqlite> " */
static char mainPrompt[PROMPT_LEN_MAX];
/* Continuation prompt. default: " ...> " */