aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-04-12 10:01:27 +0100
committerThomas Adam <thomas@xteddy.org>2021-04-12 10:01:27 +0100
commit83cd593b9cce8bbdfd8014e13393ec1f1ec90f2e (patch)
tree81d8485b0ffa0b4272981457e77eebbb4679993d /tmux.h
parent7579097db6c4e9bff5bcf8fdc4c61ac014e6f0b0 (diff)
parentcd208c9d72df79a34024df6b8eb8f984613de8ef (diff)
downloadrtmux-83cd593b9cce8bbdfd8014e13393ec1f1ec90f2e.tar.gz
rtmux-83cd593b9cce8bbdfd8014e13393ec1f1ec90f2e.tar.bz2
rtmux-83cd593b9cce8bbdfd8014e13393ec1f1ec90f2e.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 2cecb9d6..9b2bd21d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2856,6 +2856,7 @@ typedef void (*mode_tree_draw_cb)(void *, void *, struct screen_write_ctx *,
typedef int (*mode_tree_search_cb)(void *, void *, const char *);
typedef void (*mode_tree_menu_cb)(void *, struct client *, key_code);
typedef u_int (*mode_tree_height_cb)(void *, u_int);
+typedef key_code (*mode_tree_key_cb)(void *, void *, u_int);
typedef void (*mode_tree_each_cb)(void *, void *, struct client *, key_code);
u_int mode_tree_count_tagged(struct mode_tree_data *);
void *mode_tree_get_current(struct mode_tree_data *);
@@ -2870,7 +2871,7 @@ 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 *, struct args *,
mode_tree_build_cb, mode_tree_draw_cb, mode_tree_search_cb,
- mode_tree_menu_cb, mode_tree_height_cb, void *,
+ mode_tree_menu_cb, mode_tree_height_cb, mode_tree_key_cb, void *,
const struct menu_item *, const char **, u_int, struct screen **);
void mode_tree_zoom(struct mode_tree_data *, struct args *);
void mode_tree_build(struct mode_tree_data *);