summaryrefslogtreecommitdiff
path: root/usr.bin/mg/keymap.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-21 04:14:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-21 04:14:02 +0000
commitdba3f2685fe219cfbe12a13aee0a8c3d3ff7c2ab (patch)
tree662dd92e1630857a420c4427a68f979583310001 /usr.bin/mg/keymap.c
parenta5613617128d7b79a016abfcf70553defe0aa65d (diff)
^Xu is also an undo char
Diffstat (limited to 'usr.bin/mg/keymap.c')
-rw-r--r--usr.bin/mg/keymap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c
index bea02d25453..52367f6ce5b 100644
--- a/usr.bin/mg/keymap.c
+++ b/usr.bin/mg/keymap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keymap.c,v 1.16 2002/02/20 23:37:24 art Exp $ */
+/* $OpenBSD: keymap.c,v 1.17 2002/02/21 04:14:01 deraadt Exp $ */
/*
* Keyboard maps. This is character set dependent. The terminal specific
@@ -139,6 +139,8 @@ static PF cXcar[] = {
rescan, /* q */
rescan, /* r */
savebuffers, /* s */
+ NULL, /* t */
+ undo, /* u */
};
#ifndef NO_MACRO
@@ -170,7 +172,7 @@ static struct KEYMAPE (5 + IMAPEXT) cXmap = {
'=', '=', cXeq, NULL
},
{
- '^', 's', cXcar, NULL
+ '^', 'u', cXcar, NULL
},
}
};