=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.683 retrieving revision 1.684 diff -c -r1.683 -r1.684 *** src/usr.bin/tmux/tmux.h 2017/01/05 09:07:16 1.683 --- src/usr.bin/tmux/tmux.h 2017/01/06 11:57:03 1.684 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.683 2017/01/05 09:07:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.684 2017/01/06 11:57:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1417,1423 **** char *prompt_string; struct utf8_data *prompt_buffer; size_t prompt_index; ! int (*prompt_callbackfn)(void *, const char *); void (*prompt_freefn)(void *); void *prompt_data; u_int prompt_hindex; --- 1417,1423 ---- char *prompt_string; struct utf8_data *prompt_buffer; size_t prompt_index; ! int (*prompt_callbackfn)(void *, const char *, int); void (*prompt_freefn)(void *); void *prompt_data; u_int prompt_hindex; *************** *** 1425,1430 **** --- 1425,1431 ---- #define PROMPT_SINGLE 0x1 #define PROMPT_NUMERIC 0x2 + #define PROMPT_INCREMENTAL 0x4 int prompt_flags; struct session *session; *************** *** 1915,1921 **** 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); void status_prompt_clear(struct client *); int status_prompt_redraw(struct client *); int status_prompt_key(struct client *, key_code); --- 1916,1922 ---- 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 *, 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);