From eaafed24ee13b782b1853b0ab1c53481bc676efb Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 23 Sep 1999 13:05:54 +0000 Subject: zsh-workers/8011 --- Src/Zle/comp.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Src/Zle/comp.h') diff --git a/Src/Zle/comp.h b/Src/Zle/comp.h index e32a969f3..201469872 100644 --- a/Src/Zle/comp.h +++ b/Src/Zle/comp.h @@ -239,13 +239,14 @@ struct cmatch { int gnum; /* global number */ }; -#define CMF_FILE 1 /* this is a file */ -#define CMF_REMOVE 2 /* remove the suffix */ -#define CMF_ISPAR 4 /* is paramter expansion */ -#define CMF_PARBR 8 /* paramter expansion with a brace */ -#define CMF_PARNEST 16 /* nested paramter expansion */ -#define CMF_NOLIST 32 /* should not be listed */ -#define CMF_DISPLINE 64 /* display strings one per line */ +#define CMF_FILE 1 /* this is a file */ +#define CMF_REMOVE 2 /* remove the suffix */ +#define CMF_ISPAR 4 /* is paramter expansion */ +#define CMF_PARBR 8 /* paramter expansion with a brace */ +#define CMF_PARNEST 16 /* nested paramter expansion */ +#define CMF_NOLIST 32 /* should not be listed */ +#define CMF_DISPLINE 64 /* display strings one per line */ +#define CMF_HIDE 128 /* temporarily hide this one */ /* Stuff for completion matcher control. */ @@ -297,6 +298,8 @@ struct menuinfo { int we; /* non-zero if the cursor was at the end */ int insc; /* length of suffix inserted */ int asked; /* we asked if the list should be shown */ + char *prebr; /* prefix before a brace, if any */ + char *postbr; /* suffix after a brace */ }; /* Flags for compadd and addmatches(). */ @@ -342,6 +345,7 @@ typedef struct cldata *Cldata; struct cldata { int columns; /* screen width */ int lines; /* screen height */ + int menuacc; /* value of global menuacc */ int valid; /* no need to calculate anew */ int nlist; /* number of matches to list */ int nlines; /* number of lines needed */ -- cgit 1.4.1