aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/acme/text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
index 7634d921..c53694c6 100644
--- a/src/cmd/acme/text.c
+++ b/src/cmd/acme/text.c
@@ -757,6 +757,10 @@ texttype(Text *t, Rune r)
typecommit(t);
undo(t, nil, nil, TRUE, 0, nil, 0);
return;
+ case Kcmd+'Z': /* %-shift-Z: redo */
+ typecommit(t);
+ undo(t, nil, nil, FALSE, 0, nil, 0);
+ return;
Tagdown:
/* expand tag to show all text */