diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-08-28 04:56:19 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-08-28 04:56:19 +0330 |
commit | 4cc1b51a5e532f14ece5b11c66cd56091eb97a97 (patch) | |
tree | 41c2b780ca35a79989690d89fab869a7e6021870 /src/ui/tui.h | |
parent | 4c49de0cb60179f20fc579dfdba5aeca20be8abc (diff) |
fixed memory leaks
Diffstat (limited to 'src/ui/tui.h')
-rw-r--r-- | src/ui/tui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tui.h b/src/ui/tui.h index 15b65d6..0ca71b3 100644 --- a/src/ui/tui.h +++ b/src/ui/tui.h @@ -47,7 +47,6 @@ typedef struct TERMINAL_CELL { typedef struct TUI { struct winsize size; struct termios original, raw, helper; - ON_CLICK_CALLBACK **on_click_callbacks; int init_cursor_x, init_cursor_y; TERMINAL_CELL *cells; size_t cells_length; @@ -142,5 +141,6 @@ extern BOX_METADATA *_tui_make_box_metadata(WIDGET *child, int width, extern void _tui_delete_box(WIDGET *box); extern WIDGET_ARRAY *tui_make_widget_array(int size, ...); +extern void _tui_delete_widget_array(WIDGET_ARRAY *widget_array); #endif |