diff options
author | 2016-01-19 16:01:30 +0000 | |
---|---|---|
committer | 2016-01-19 16:01:30 +0000 | |
commit | dead13bb42a09a5b71b21af2e7987837a161c7d4 (patch) | |
tree | 1d3e256dd0fd2539c96743e980136feff8c5b500 /usr.bin/tmux/tmux.h | |
parent | I no longer use my SourceForge address so replace it. (diff) | |
download | wireguard-openbsd-dead13bb42a09a5b71b21af2e7987837a161c7d4.tar.xz wireguard-openbsd-dead13bb42a09a5b71b21af2e7987837a161c7d4.zip |
Split out getting the current state from the target search so it can be
replaced if we already know the current.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 70efbaed1c0..9c7c8745bb6 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.617 2016/01/19 15:59:12 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.618 2016/01/19 16:01:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1769,8 +1769,11 @@ long long args_strtonum(struct args *, u_char, long long, long long, char **); /* cmd-find.c */ -int cmd_find_target(struct cmd_find_state *, struct cmd_q *, - const char *, enum cmd_find_type, int); +int cmd_find_current(struct cmd_find_state *, struct cmd_q *, + int); +int cmd_find_target(struct cmd_find_state *, + struct cmd_find_state *, struct cmd_q *, const char *, + enum cmd_find_type, int); struct client *cmd_find_client(struct cmd_q *, const char *, int); void cmd_find_clear_state(struct cmd_find_state *, struct cmd_q *, int); @@ -1793,7 +1796,8 @@ char **cmd_copy_argv(int, char **); void cmd_free_argv(int, char **); char *cmd_stringify_argv(int, char **); struct cmd *cmd_parse(int, char **, const char *, u_int, char **); -int cmd_prepare_state(struct cmd *, struct cmd_q *); +int cmd_prepare_state(struct cmd *, struct cmd_q *, + struct cmd_q *); char *cmd_print(struct cmd *); int cmd_mouse_at(struct window_pane *, struct mouse_event *, u_int *, u_int *, int); |