config: Increase the nested descriptor limit

master
Raheman Vaiya 1 year ago
parent 393d341464
commit 0cec5ce800
  1. 2
      src/config.h
  2. 1
      src/log.c

@ -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];

@ -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);
}

Loading…
Cancel
Save