From 405cc337f35731614b37d7279ddfc3a5dc806694 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 7 Jun 2017 14:37:30 +0000 Subject: Add simple searching (C-s and n) to the various choose modes: by name for client and tree, and by name and content for buffer. --- tmux.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 99c42aa4..7fb5373a 100644 --- a/tmux.h +++ b/tmux.h @@ -2203,8 +2203,8 @@ void mode_tree_up(struct mode_tree_data *, int); void mode_tree_down(struct mode_tree_data *, int); struct mode_tree_data *mode_tree_start(struct window_pane *, void (*)(void *, u_int, uint64_t *), struct screen *(*)(void *, - void *, u_int, u_int), void *, const char **, u_int, - struct screen **); + void *, u_int, u_int), int (*)(void *, void *, const char *), + void *, const char **, u_int, struct screen **); void mode_tree_build(struct mode_tree_data *); void mode_tree_free(struct mode_tree_data *); void mode_tree_resize(struct mode_tree_data *, u_int, u_int); @@ -2213,7 +2213,7 @@ struct mode_tree_item *mode_tree_add(struct mode_tree_data *, const char *, int); void mode_tree_remove(struct mode_tree_data *, struct mode_tree_item *); void mode_tree_draw(struct mode_tree_data *); -int mode_tree_key(struct mode_tree_data *, key_code *, +int mode_tree_key(struct mode_tree_data *, struct client *, key_code *, struct mouse_event *); void mode_tree_run_command(struct client *, struct cmd_find_state *, const char *, const char *); -- cgit