summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2018-07-09 17:27:37 -0700
committerWilliam Casarin <jb55@jb55.com>2018-07-09 17:27:37 -0700
commit22e403ca533419e1d19bf5c4dad8b2bbc4eb2173 (patch)
tree089f405c4b3befd0c7d63492168cfaaf17f526a6 /command.h
parente4230b572ef598ee38da4334f0482b81496fbf0c (diff)
subtree nav works
Diffstat (limited to 'command.h')
-rw-r--r--command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.h b/command.h
index 1372219..750f109 100644
--- a/command.h
+++ b/command.h
@@ -15,6 +15,9 @@ struct command {
void
command_init(struct command *cmd);
+struct command *
+command_lookup(struct command *cmd, const char *binding);
+
int
command_is_prefix(struct command *cmd);