From 0cec5ce800205f33c6388591e2af4aa5c122b962 Mon Sep 17 00:00:00 2001 From: Raheman Vaiya Date: Wed, 18 Dec 2024 00:36:12 -0500 Subject: [PATCH] config: Increase the nested descriptor limit --- src/config.h | 2 +- src/log.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 6fe9fee..0d77832 100644 --- a/src/config.h +++ b/src/config.h @@ -113,7 +113,7 @@ struct config { struct layer layers[MAX_LAYERS]; /* Auxiliary descriptors used by layer bindings. */ - struct descriptor descriptors[256]; + struct descriptor descriptors[1024]; struct macro macros[256]; struct command commands[64]; char aliases[256][32]; diff --git a/src/log.c b/src/log.c index 885590d..f326631 100644 --- a/src/log.c +++ b/src/log.c @@ -75,6 +75,7 @@ void die(const char *fmt, ...) { va_start(ap, fmt); vfprintf(stderr, colorize(fmt), ap); va_end(ap); + fprintf(stderr, "\n"); exit(-1); }