diff options
author | nicm <nicm> | 2020-06-16 08:18:34 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-06-16 08:18:34 +0000 |
commit | 1bf9555e4f1ad19e1e6f97ede6fb19808ff1c267 (patch) | |
tree | 517c3ac9fd211c1294523af5f9e11104ae41edaa /tmux.h | |
parent | afe4ea4250073e482c6ec6accfc539f873df6977 (diff) | |
download | rtmux-1bf9555e4f1ad19e1e6f97ede6fb19808ff1c267.tar.gz rtmux-1bf9555e4f1ad19e1e6f97ede6fb19808ff1c267.tar.bz2 rtmux-1bf9555e4f1ad19e1e6f97ede6fb19808ff1c267.zip |
d and D keys to reset to default in customize mode.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1988,7 +1988,6 @@ struct options *options_owner(struct options_entry *); const struct options_table_entry *options_table_entry(struct options_entry *); struct options_entry *options_get_only(struct options *, const char *); struct options_entry *options_get(struct options *, const char *); -void options_remove(struct options_entry *); void options_array_clear(struct options_entry *); union options_value *options_array_get(struct options_entry *, u_int); int options_array_set(struct options_entry *, u_int, const char *, @@ -2025,6 +2024,8 @@ int options_from_string(struct options *, const struct options_table_entry *, const char *, const char *, int, char **); void options_push_changes(const char *); +int options_remove_or_default(struct options_entry *, int, + char **); /* options-table.c */ extern const struct options_table_entry options_table[]; @@ -2325,7 +2326,9 @@ struct key_binding *key_bindings_next(struct key_table *, struct key_binding *); void key_bindings_add(const char *, key_code, const char *, int, struct cmd_list *); void key_bindings_remove(const char *, key_code); +void key_bindings_reset(const char *, key_code); void key_bindings_remove_table(const char *); +void key_bindings_reset_table(const char *); void key_bindings_init(void); struct cmdq_item *key_bindings_dispatch(struct key_binding *, struct cmdq_item *, struct client *, struct key_event *, @@ -2802,6 +2805,7 @@ struct mode_tree_item *mode_tree_add(struct mode_tree_data *, struct mode_tree_item *, void *, uint64_t, const char *, const char *, int); void mode_tree_draw_as_parent(struct mode_tree_item *); +void mode_tree_no_tag(struct mode_tree_item *); 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 *, struct client *, key_code *, |