Allow the initial context on prompts to be set with the new -I option to

command-prompt. From Tiago Cunha.
This commit is contained in:
Nicholas Marriott
2011-07-02 21:05:44 +00:00
parent 1202284f37
commit ad60a2c952
5 changed files with 73 additions and 24 deletions

4
tmux.h
View File

@ -1704,12 +1704,12 @@ char *status_replace(struct client *, struct session *,
void printflike2 status_message_set(struct client *, const char *, ...);
void status_message_clear(struct client *);
int status_message_redraw(struct client *);
void status_prompt_set(struct client *, const char *,
void status_prompt_set(struct client *, const char *, const char *,
int (*)(void *, const char *), void (*)(void *), void *, int);
void status_prompt_clear(struct client *);
int status_prompt_redraw(struct client *);
void status_prompt_key(struct client *, int);
void status_prompt_update(struct client *, const char *);
void status_prompt_update(struct client *, const char *, const char *);
/* resize.c */
void recalculate_sizes(void);