esc and entr handling in command mode
This commit is contained in:
parent
5daf8b9dd3
commit
5eb4437ac4
6 changed files with 66 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue