Turn off preview if no draw callback and add a function to move to top.

This commit is contained in:
nicm
2026-06-23 20:30:10 +00:00
parent c0a5e10313
commit 0c5e6770df
2 changed files with 11 additions and 2 deletions

1
tmux.h
View File

@@ -3570,6 +3570,7 @@ typedef const char** (*mode_tree_help_cb)(u_int *, const char**);
u_int mode_tree_count_tagged(struct mode_tree_data *);
void *mode_tree_get_current(struct mode_tree_data *);
const char *mode_tree_get_current_name(struct mode_tree_data *);
void mode_tree_select_top(struct mode_tree_data *);
void mode_tree_expand_current(struct mode_tree_data *);
void mode_tree_collapse_current(struct mode_tree_data *);
void mode_tree_expand(struct mode_tree_data *, uint64_t);