Make the prompt history global for all clients which is much more useful than per-client history.

This commit is contained in:
Nicholas Marriott
2010-12-11 16:05:57 +00:00
parent 6be32c89c5
commit 7ce77ffc9c
3 changed files with 58 additions and 33 deletions

4
tmux.h
View File

@ -1147,13 +1147,11 @@ struct client {
int (*prompt_callbackfn)(void *, const char *);
void (*prompt_freefn)(void *);
void *prompt_data;
u_int prompt_hindex;
#define PROMPT_SINGLE 0x1
int prompt_flags;
u_int prompt_hindex;
ARRAY_DECL(, char *) prompt_hdata;
struct mode_key_data prompt_mdata;
struct session *session;