--- lbbs/include/menu.h 2025/05/29 01:21:44 1.23 +++ lbbs/include/menu.h 2025/06/21 02:15:18 1.26 @@ -17,11 +17,10 @@ #ifndef _MENU_H_ #define _MENU_H_ +#include "bbs_cmd.h" #include "common.h" #include "trie_dict.h" -#include "bbs_cmd.h" #include -#include #define MAX_MENU_NAME_LENGTH 30 #define MAX_ITEMS_PER_MENU 256 @@ -80,6 +79,8 @@ struct menu_t int16_t item_count; int16_t page_row, page_col; int16_t page_item_limit; + int8_t use_filter; + bbs_cmd_handler filter_handler; }; typedef struct menu_t MENU;