diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-10-28 01:40:34 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-10-28 01:40:34 -0400 |
| commit | 2b4305b89e0aee24e0f6d5470e4be9abb4854943 (patch) | |
| tree | 5bb9ce45cebad2110a9afbf60395f9df9c53a2d6 /input_field.c | |
| parent | e42d9bb1834678fb0275dbcdfc84bc80b1ca27a8 (diff) | |
non fancy scroll
Diffstat (limited to 'input_field.c')
| -rw-r--r-- | input_field.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/input_field.c b/input_field.c index 4eba923..ad94104 100644 --- a/input_field.c +++ b/input_field.c @@ -9,11 +9,6 @@ int compare(const void *a, const void *b) { return strlen(((item_display_t*)a)->item->text) > strlen(((item_display_t*)b)->item->text); } -void update_layout(client_state* state) { - rect_t prompt, input, options; - calculate_layout(state, &prompt, &input, &options, true); -} - void filter_items(client_state* state) { if (!state->items) return; @@ -43,7 +38,8 @@ void filter_items(client_state* state) { } // update layout - update_layout(state); + rect_t prompt, input, options; + calculate_layout(state, &prompt, &input, &options, true, true); } void update_text_buffer(client_state* state) { |
