From 522fc94d12753466dd5351918642114bbc475e35 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 28 Jul 2009 23:19:06 +0000 Subject: Sync OpenBSD patchset 194: Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t argument to modify a table. --- tmux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index e257e5cc..3fd13a10 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.397 2009-07-28 23:11:18 tcunha Exp $ */ +/* $Id: tmux.h,v 1.398 2009-07-28 23:19:06 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1097,6 +1097,8 @@ extern struct mode_key_tree mode_key_tree_emacs_copy; int mode_key_cmp(struct mode_key_binding *, struct mode_key_binding *); SPLAY_PROTOTYPE(mode_key_tree, mode_key_binding, entry, mode_key_cmp); const char *mode_key_tostring(struct mode_key_cmdstr *r, enum mode_key_cmd); +enum mode_key_cmd mode_key_fromstring(struct mode_key_cmdstr *, const char *); +const struct mode_key_table *mode_key_findtable(const char *); void mode_key_init_trees(void); void mode_key_free_trees(void); void mode_key_init(struct mode_key_data *, struct mode_key_tree *); -- cgit