diff options
| author | katalx | 2026-01-28 20:46:43 -0500 |
|---|---|---|
| committer | katalx | 2026-01-28 20:46:43 -0500 |
| commit | 583bcd490a055f013b244a6cd7e6ecb6765260e2 (patch) | |
| tree | 30b6d9d0237d9ae6ea4e57db964d4d409dc152b9 /ui.h | |
| parent | 86a10e053154cb52ab7d051b98a6366c6165c02b (diff) | |
read stdin into opt array
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,7 @@ #define UI_H #include "str.h" +#include "dynarr.h" typedef enum { UI_REDRAW, @@ -37,9 +38,11 @@ typedef struct { }; } UiEvent; +typedef DYNARR(Str) UiOpts; + void ui_init(int argc, char **argv); void ui_fini(void); -void ui_draw(Str input, int inpi, int seli, Str *optv, int optc); +void ui_draw(Str input, int inpi, int seli, UiOpts o); int ui_wait_event(UiEvent *e); #endif |
