aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-17 15:05:12 +0100
committerDavid Robillard <d@drobilla.net>2020-03-17 15:05:12 +0100
commit0469414b9b681d7d87adaf7828888babec6b47d4 (patch)
treea5a41435418845ac2437ba5c6d2cb9683a24b941
parentf906a25ba6aa00c00b9ad72ea76e73c875045640 (diff)
downloadjalv-0469414b9b681d7d87adaf7828888babec6b47d4.tar.gz
jalv-0469414b9b681d7d87adaf7828888babec6b47d4.tar.bz2
jalv-0469414b9b681d7d87adaf7828888babec6b47d4.zip
Allocate more space for command prompt commandsHEADmaster
-rw-r--r--src/jalv_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c
index 06eaf99..7b93f43 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -262,7 +262,7 @@ jalv_open_ui(Jalv* jalv)
if (!jalv_run_custom_ui(jalv) && !jalv->opts.non_interactive) {
// Primitive command prompt for setting control values
while (!zix_sem_try_wait(&jalv->done)) {
- char line[128];
+ char line[1024];
printf("> ");
if (fgets(line, sizeof(line), stdin)) {
jalv_process_command(jalv, line);