diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-25 08:52:34 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-25 08:52:34 +0000 |
commit | eba59194d72250402bdbb97a866ffea89ec9d7a7 (patch) | |
tree | 607dc8f64428fb9f749405c96e7c3e7969739cce /Src/Zle/comp.h | |
parent | 6d81779954a9a5ef64c87a21ce131190a1214d7c (diff) | |
download | zsh-eba59194d72250402bdbb97a866ffea89ec9d7a7.tar.gz zsh-eba59194d72250402bdbb97a866ffea89ec9d7a7.tar.xz zsh-eba59194d72250402bdbb97a866ffea89ec9d7a7.zip |
make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)
Diffstat (limited to 'Src/Zle/comp.h')
-rw-r--r-- | Src/Zle/comp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/Zle/comp.h b/Src/Zle/comp.h index 22029d511..c06e7aa7e 100644 --- a/Src/Zle/comp.h +++ b/Src/Zle/comp.h @@ -85,6 +85,7 @@ struct cmgroup { #define CGF_UNIQCON 16 /* remove consecutive duplicates */ #define CGF_PACKED 32 /* LIST_PACKED for this group */ #define CGF_ROWS 64 /* LIST_ROWS_FIRST for this group */ +#define CGF_FILES 128 /* contains file names */ /* This is the struct used to hold matches. */ @@ -125,6 +126,7 @@ struct cmatch { #define CMF_MULT (1<<11) /* string appears more than once */ #define CMF_FMULT (1<<12) /* first of multiple equal strings */ #define CMF_ALL (1<<13) /* a match representing all other matches */ +#define CMF_DUMMY (1<<14) /* unselectable dummy match */ /* Stuff for completion matcher control. */ @@ -264,6 +266,7 @@ struct cadata { char *dpar; /* array to delete non-matches in (-D) */ char *disp; /* array with display lists (-d) */ char *mesg; /* message to show unconditionally (-x) */ + int dummies; /* add that many dummy matches */ }; /* List data. */ |