diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-24 10:10:01 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-24 10:10:01 +0000 |
commit | 408c7d23853c0fbb664d96ac7beea43a4826f799 (patch) | |
tree | 363b857dfeafcc2ecab42039134bd3a99da5c84e | |
parent | 052900f209b5cb4ae608a110572fd25c69fe5818 (diff) |
Add a missing piece of something I committed by accident that I
planned to add later.
A new flag to veread (and caller) called EFDEF that indicates that
when a user is prompted for input, a default value is given from start
in the output buffer.
-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 e4b41553df0..9615c1c14aa 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.19 2001/05/24 09:47:33 art Exp $ */ +/* $OpenBSD: def.h,v 1.20 2001/05/24 10:10:00 art Exp $ */ /* * This file is the general header file for all parts @@ -95,6 +95,7 @@ typedef int (*PF)(); /* generally useful type */ #define EFAUTO 0x0007 /* Some autocompleteion on */ #define EFNEW 0x0008 /* New prompt. */ #define EFCR 0x0010 /* Echo CR at end; last read. */ +#define EFDEF 0x0020 /* buffer contains default args */ /* * Flags for "ldelete"/"kinsert" |