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:15:02 +00:00
parent 1a4d78c7af
commit 095ffe9cd1
3 changed files with 62 additions and 36 deletions

6
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.585 2010-12-06 22:52:21 nicm Exp $ */
/* $Id: tmux.h,v 1.586 2010-12-11 16:15:02 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1145,13 +1145,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;