diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:06:33 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:06:33 +0000 |
commit | a61dc2074ae6cd00f1c166dc0102c491db056060 (patch) | |
tree | b5661a235ec55353b97c617554baf14158c91ea8 /Src/Zle/zle.h | |
parent | 32c2ebbaa5d7927f33ee0ecf98472a71cf902cf3 (diff) | |
download | zsh-a61dc2074ae6cd00f1c166dc0102c491db056060.tar.gz zsh-a61dc2074ae6cd00f1c166dc0102c491db056060.tar.xz zsh-a61dc2074ae6cd00f1c166dc0102c491db056060.zip |
zsh-3.1.5-pws-1 zsh-3.1.5-pws-1
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r-- | Src/Zle/zle.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index faf6cf878..71a929f87 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -31,7 +31,7 @@ #undef zleread #undef spaceinline #undef gotword -#undef refresh +#undef zrefresh typedef struct widget *Widget; typedef struct thingy *Thingy; @@ -46,16 +46,23 @@ struct widget { union { ZleIntFunc fn; /* pointer to internally implemented widget */ char *fnnam; /* name of the shell function for user-defined widget */ + Compctl cc; /* for use with a WIDGET_COMP widget */ } u; }; #define WIDGET_INT (1<<0) /* widget is internally implemented */ -#define ZLE_MENUCMP (1<<1) /* DON'T invalidate completion list */ +#define WIDGET_COMP (1<<1) /* Special completion widget */ +#define ZLE_MENUCMP (1<<2) /* DON'T invalidate completion list */ #define ZLE_YANK (1<<3) #define ZLE_LINEMOVE (1<<4) /* command is a line-oriented movement */ #define ZLE_LASTCOL (1<<5) /* command maintains lastcol correctly */ #define ZLE_KILL (1<<6) #define ZLE_KEEPSUFFIX (1<<9) /* DON'T remove added suffix */ +#define ZLE_USEMENU (1<<10) /* Do ) use menu completion for */ +#define ZLE_NOMENU (1<<11) /* Don't ) widget, else use default */ +#define ZLE_USEGLOB (1<<12) /* Do ) use glob completion for */ +#define ZLE_NOGLOB (1<<13) /* Don't ) widget, else use default */ +#define ZLE_NOTCOMMAND (1<<14) /* widget should not alter lastcmd */ /* thingies */ |