diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-27 17:27:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-27 17:27:36 +0000 |
commit | 5d1b6888dc11a201129a87cfe22ee514597eacf3 (patch) | |
tree | 250f66882982bac3d766850f6742dca59c9f326f /tmux.h | |
parent | 1f2d9e64bb292438ba9a618fd93baedc5e84eca1 (diff) | |
download | rtmux-5d1b6888dc11a201129a87cfe22ee514597eacf3.tar.gz rtmux-5d1b6888dc11a201129a87cfe22ee514597eacf3.tar.bz2 rtmux-5d1b6888dc11a201129a87cfe22ee514597eacf3.zip |
Convert hidden flag to a full flags word for the status line and add a flag to
accept after only one key. Use this so don't need to press enter after y/n for
confirm-before.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.302 2009-04-27 14:51:59 nicm Exp $ */ +/* $Id: tmux.h,v 1.303 2009-04-27 17:27:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -857,9 +857,14 @@ struct client { size_t prompt_index; int (*prompt_callback)(void *, const char *); void *prompt_data; - int prompt_hidden; + +#define PROMPT_HIDDEN 0x1 +#define PROMPT_SINGLE 0x2 + int prompt_flags; + u_int prompt_hindex; ARRAY_DECL(, char *) prompt_hdata; + struct mode_key_data prompt_mdata; struct session *session; |