Expand target from client and use it to expand the prompt.

This commit is contained in:
nicm
2020-05-16 16:16:07 +00:00
parent 72984c4834
commit c914abfa19
9 changed files with 36 additions and 28 deletions

7
tmux.h
View File

@ -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);