aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2023-01-20 21:36:00 +0000
committernicm <nicm>2023-01-20 21:36:00 +0000
commit3aa458ea6398b0de37c3e146304bd2a4e17ea3c0 (patch)
treec7940f0d27db91583fd08b9099409a8998a6b087 /tmux.h
parent9789ea3fb4b3215e48b3f0024e2c21c50f95edec (diff)
downloadrtmux-3aa458ea6398b0de37c3e146304bd2a4e17ea3c0.tar.gz
rtmux-3aa458ea6398b0de37c3e146304bd2a4e17ea3c0.tar.bz2
rtmux-3aa458ea6398b0de37c3e146304bd2a4e17ea3c0.zip
Add a flag to display-menu to select the manu item chosen first, GitHub
issue 3442.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 718a067b..3b1a4fc9 100644
--- a/tmux.h
+++ b/tmux.h
@@ -3292,11 +3292,11 @@ void menu_add_item(struct menu *, const struct menu_item *,
struct cmdq_item *, struct client *,
struct cmd_find_state *);
void menu_free(struct menu *);
-struct menu_data *menu_prepare(struct menu *, int, struct cmdq_item *, u_int,
- u_int, struct client *, struct cmd_find_state *,
+struct menu_data *menu_prepare(struct menu *, int, int, struct cmdq_item *,
+ u_int, u_int, struct client *, struct cmd_find_state *,
menu_choice_cb, void *);
-int menu_display(struct menu *, int, struct cmdq_item *, u_int,
- u_int, struct client *, struct cmd_find_state *,
+int menu_display(struct menu *, int, int, struct cmdq_item *,
+ u_int, u_int, struct client *, struct cmd_find_state *,
menu_choice_cb, void *);
struct screen *menu_mode_cb(struct client *, void *, u_int *, u_int *);
void menu_check_cb(struct client *, void *, u_int, u_int, u_int,