mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Prompt history.
This commit is contained in:
7
tmux.h
7
tmux.h
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.h,v 1.205 2009-01-06 14:10:32 nicm Exp $ */
|
||||
/* $Id: tmux.h,v 1.206 2009-01-06 15:37:15 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -119,6 +119,9 @@ extern const char *__progname;
|
||||
/* Default configuration file. */
|
||||
#define DEFAULT_CFG ".tmux.conf"
|
||||
|
||||
/* Default prompt history length. */
|
||||
#define PROMPT_HISTORY 100
|
||||
|
||||
/* Fatal errors. */
|
||||
#define fatal(msg) log_fatal("%s: %s", __func__, msg);
|
||||
#define fatalx(msg) log_fatalx("%s: %s", __func__, msg);
|
||||
@ -745,6 +748,8 @@ struct client {
|
||||
size_t prompt_index;
|
||||
void (*prompt_callback)(void *, char *);
|
||||
void *prompt_data;
|
||||
u_int prompt_hindex;
|
||||
ARRAY_DECL(, char *) prompt_hdata;
|
||||
|
||||
struct session *session;
|
||||
};
|
||||
|
Reference in New Issue
Block a user