diff options
author | 2002-09-26 10:12:26 +0000 | |
---|---|---|
committer | 2002-09-26 10:12:26 +0000 | |
commit | 7dfe9fdafc12f34fa14ab62d7be47f11500f6ef2 (patch) | |
tree | ac7ffbe5c8a96a18b726a152e0e402f0e8f820ff | |
parent | sync (diff) | |
download | wireguard-openbsd-7dfe9fdafc12f34fa14ab62d7be47f11500f6ef2.tar.xz wireguard-openbsd-7dfe9fdafc12f34fa14ab62d7be47f11500f6ef2.zip |
activate the two key sequences for undo again; ok art henning
-rw-r--r-- | usr.bin/mg/keymap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c index 60ee857a1a0..11a76dfb77f 100644 --- a/usr.bin/mg/keymap.c +++ b/usr.bin/mg/keymap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keymap.c,v 1.23 2002/06/27 23:07:58 vincent Exp $ */ +/* $OpenBSD: keymap.c,v 1.24 2002/09/26 10:12:26 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 }, } }; @@ -322,7 +324,7 @@ static PF fund_esc[] = { rescan, /* ^\ selfinsert is default on fundamental */ rescan, /* ^] */ rescan, /* ^^ */ - rescan, /* ^_ */ + undo, /* ^_ */ }; static PF fund_del[] = { |