diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-06 14:01:15 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-06 14:01:15 +0000 |
commit | a3428487a787c9ab43cd628338dcc290499891ae (patch) | |
tree | a82222b0cd94e22370eaae0ed6a8c679202e10e5 /tmux.h | |
parent | 58642011df2ccb02d405626e641ad9f11945a276 (diff) | |
parent | cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e (diff) | |
download | rtmux-a3428487a787c9ab43cd628338dcc290499891ae.tar.gz rtmux-a3428487a787c9ab43cd628338dcc290499891ae.tar.bz2 rtmux-a3428487a787c9ab43cd628338dcc290499891ae.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1419,7 +1419,7 @@ struct client { char *prompt_string; struct utf8_data *prompt_buffer; size_t prompt_index; - int (*prompt_callbackfn)(void *, const char *); + int (*prompt_callbackfn)(void *, const char *, int); void (*prompt_freefn)(void *); void *prompt_data; u_int prompt_hindex; @@ -1427,6 +1427,7 @@ struct client { #define PROMPT_SINGLE 0x1 #define PROMPT_NUMERIC 0x2 +#define PROMPT_INCREMENTAL 0x4 int prompt_flags; struct session *session; @@ -1917,7 +1918,7 @@ void printflike(2, 3) 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 *, const char *, - int (*)(void *, const char *), void (*)(void *), void *, int); + int (*)(void *, const char *, int), void (*)(void *), void *, int); void status_prompt_clear(struct client *); int status_prompt_redraw(struct client *); int status_prompt_key(struct client *, key_code); |