diff options
-rw-r--r-- | bin/ksh/vi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ksh/vi.c b/bin/ksh/vi.c index f1ef401161b..cdda9cb24b1 100644 --- a/bin/ksh/vi.c +++ b/bin/ksh/vi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vi.c,v 1.59 2021/03/10 20:17:33 millert Exp $ */ +/* $OpenBSD: vi.c,v 1.60 2021/03/12 02:10:25 millert Exp $ */ /* * vi command editing @@ -22,6 +22,9 @@ #include "sh.h" #include "edit.h" +#undef CTRL +#define CTRL(x) ((x) & 0x1F) /* ASCII */ + struct edstate { char *cbuf; /* main buffer to build the command line */ int cbufsize; /* number of bytes allocated for cbuf */ |