esc and entr handling in command mode

This commit is contained in:
Luka Jankovic 2025-07-02 18:00:40 +02:00
parent 5daf8b9dd3
commit 5eb4437ac4
6 changed files with 66 additions and 14 deletions

View file

@ -69,6 +69,11 @@
size_t index) { \
assert(index < arr->count); \
arr->data[index] = new_val; \
} \
\
static inline void name##_clear(struct name *arr) { \
free(arr->data); \
name##_init(arr); \
}
#endif