aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-10-11 13:45:47 +0000
committernicm <nicm>2016-10-11 13:45:47 +0000
commit5c49e1d0c1afaf98512b2ffd1f31d91fecff9851 (patch)
tree7c700a3608d6de77abcdd13af8098aa47cf657ec /tmux.h
parente45401846f0a423bb90ebd3943041a28b2657631 (diff)
downloadrtmux-5c49e1d0c1afaf98512b2ffd1f31d91fecff9851.tar.gz
rtmux-5c49e1d0c1afaf98512b2ffd1f31d91fecff9851.tar.bz2
rtmux-5c49e1d0c1afaf98512b2ffd1f31d91fecff9851.zip
Some other stuff that can be local to one file.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/tmux.h b/tmux.h
index e2c1514c..b5fd8714 100644
--- a/tmux.h
+++ b/tmux.h
@@ -42,6 +42,7 @@ struct args;
struct client;
struct environ;
struct input_ctx;
+struct mode_key_cmdstr;
struct mouse_event;
struct options;
struct session;
@@ -542,12 +543,6 @@ struct mode_key_binding {
};
RB_HEAD(mode_key_tree, mode_key_binding);
-/* Command to string mapping. */
-struct mode_key_cmdstr {
- enum mode_key_cmd cmd;
- const char *name;
-};
-
/* Named mode key table description. */
struct mode_key_entry;
struct mode_key_table {
@@ -1598,13 +1593,10 @@ int printflike(4, 5) hooks_wait(struct hooks *, struct cmd_q *,
struct cmd_find_state *, const char *, ...);
/* mode-key.c */
-extern const struct mode_key_table mode_key_tables[];
extern struct mode_key_tree mode_key_tree_vi_edit;
extern struct mode_key_tree mode_key_tree_vi_choice;
-extern struct mode_key_tree mode_key_tree_vi_copy;
extern struct mode_key_tree mode_key_tree_emacs_edit;
extern struct mode_key_tree mode_key_tree_emacs_choice;
-extern struct mode_key_tree mode_key_tree_emacs_copy;
int mode_key_cmp(struct mode_key_binding *, struct mode_key_binding *);
RB_PROTOTYPE(mode_key_tree, mode_key_binding, entry, mode_key_cmp);
const char *mode_key_tostring(const struct mode_key_cmdstr *,