diff options
author | nicm <nicm> | 2017-06-07 14:37:30 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-06-07 14:37:30 +0000 |
commit | 405cc337f35731614b37d7279ddfc3a5dc806694 (patch) | |
tree | 3f0962f6034f59e6cb6d09c4b8daaab180c517b9 /tmux.h | |
parent | 50b27c8c0dc65cb418ed422e2cdd035a7bafedfe (diff) | |
download | rtmux-405cc337f35731614b37d7279ddfc3a5dc806694.tar.gz rtmux-405cc337f35731614b37d7279ddfc3a5dc806694.tar.bz2 rtmux-405cc337f35731614b37d7279ddfc3a5dc806694.zip |
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 *); |