summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-24 10:43:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-24 10:43:22 +0000
commita362f5a3bc8fb4f28a7cf27e55a956db6b1585a1 (patch)
tree68d97d7cc1ca08fa7ff7d87b17fa6eb9af5b7352 /usr.bin/mg/main.c
parent8a16edcb82485ab189d1f1167ca787bedc144a3b (diff)
Make the keymap/mode table growable in runtime.
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 491f6b1d5e6..9f3c7ca3f4d 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,10 +1,11 @@
-/* $OpenBSD: main.c,v 1.11 2001/05/24 09:47:34 art Exp $ */
+/* $OpenBSD: main.c,v 1.12 2001/05/24 10:43:19 art Exp $ */
/*
* Mainline.
*/
#include "def.h"
+#include "kbd.h"
#include "funmap.h"
#ifndef NO_MACRO
@@ -37,6 +38,7 @@ main(argc, argv)
dirinit(); /* Get current directory. */
#endif /* !NO_DIR */
edinit(); /* Buffers, windows. */
+ maps_init(); /* Keymaps and modes. */
funmap_init(); /* Functions. */
ttykeymapinit(); /* Symbols, bindings. */