diff options
author | 2020-05-16 16:16:07 +0000 | |
---|---|---|
committer | 2020-05-16 16:16:07 +0000 | |
commit | 94adf770415cb803237af9a844544f2da66f1f98 (patch) | |
tree | 44ced233d9768929dc89d5ec0752a7bd6a908ad2 /usr.bin/tmux/tmux.h | |
parent | Move editor stuff to common code in popup.c. (diff) | |
download | wireguard-openbsd-94adf770415cb803237af9a844544f2da66f1f98.tar.xz wireguard-openbsd-94adf770415cb803237af9a844544f2da66f1f98.zip |
Expand target from client and use it to expand the prompt.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 8a47252833d..34ffd4d8955 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.1039 2020/05/16 16:13:09 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.1040 2020/05/16 16:16:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1504,7 +1504,7 @@ struct client_file { client_file_cb cb; void *data; - RB_ENTRY (client_file) entry; + RB_ENTRY(client_file) entry; }; RB_HEAD(client_files, client_file); @@ -2359,8 +2359,9 @@ void printflike(3, 4) status_message_set(struct client *, int, const char *, ...); void status_message_clear(struct client *); int status_message_redraw(struct client *); -void status_prompt_set(struct client *, const char *, const char *, - prompt_input_cb, prompt_free_cb, void *, int); +void status_prompt_set(struct client *, struct cmd_find_state *, + const char *, const char *, prompt_input_cb, prompt_free_cb, + void *, int); void status_prompt_clear(struct client *); int status_prompt_redraw(struct client *); int status_prompt_key(struct client *, key_code); |