diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-03 20:59:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-03 20:59:22 +0000 |
commit | 5761ab6b555db9ec16e79722897c09685a03f9d5 (patch) | |
tree | 23880b4845aa09e005fed3e882f33ab9eef9ae1b /tmux.h | |
parent | 5289da29ba2fdf15413ec94fa7f2838469abccae (diff) | |
download | rtmux-5761ab6b555db9ec16e79722897c09685a03f9d5.tar.gz rtmux-5761ab6b555db9ec16e79722897c09685a03f9d5.tar.bz2 rtmux-5761ab6b555db9ec16e79722897c09685a03f9d5.zip |
If it isn't available explicitly, work out the current client in a similar way
to the current session - build a list of the possibilities then pick the
newest.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1427,6 +1427,7 @@ int cmd_exec(struct cmd *, struct cmd_ctx *); void cmd_free(struct cmd *); size_t cmd_print(struct cmd *, char *, size_t); struct session *cmd_current_session(struct cmd_ctx *); +struct client *cmd_current_client(struct cmd_ctx *); struct client *cmd_find_client(struct cmd_ctx *, const char *); struct session *cmd_find_session(struct cmd_ctx *, const char *); struct winlink *cmd_find_window( |