From 5761ab6b555db9ec16e79722897c09685a03f9d5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 3 Nov 2009 20:59:22 +0000 Subject: 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. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 62419913..bdbdf405 100644 --- a/tmux.h +++ b/tmux.h @@ -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( -- cgit