diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-05-31 20:39:00 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-05-31 20:39:00 +0000 |
commit | f454f5b2cd6f4addda2387f5bb72d0e1bf8ae327 (patch) | |
tree | 2f8ebb46dba5ce0b37654c40ad5d7b61be2566d5 /usr.bin/mg/def.h | |
parent | 7c7c0b8f3915fc8f09780b284bfc98055c5ed9a8 (diff) |
fix broken minibuffer defaults introduced in echo.c:1.33
adds eread flag EFDEF allowing null minibuffer response
noticed by otto
ok cloder@ jason@, works otto@
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r-- | usr.bin/mg/def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index b426fc01d60..483e4c6403e 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.62 2005/05/30 13:13:50 jason Exp $ */ +/* $OpenBSD: def.h,v 1.63 2005/05/31 20:38:59 kjell Exp $ */ #include <sys/queue.h> @@ -97,6 +97,7 @@ typedef int (*PF)(int, int); /* generally useful type */ #define EFNEW 0x0008 /* New prompt. */ #define EFCR 0x0010 /* Echo CR at end; last read. */ #define EFDEF 0x0020 /* buffer contains default args */ +#define EFNUL 0x0040 /* Null Minibuffer OK */ /* * Flags for "ldelete"/"kinsert" |