tacme: implement Cmd-Shift-Z for Redo on Mac - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b15fd97627767291628309677c40b3f40b868497
 (DIR) parent 00b50225c203e06a4f23e1d2eb41e84116933e53
 (HTM) Author: Russ Cox <rsc@swtch.com>
       Date:   Sat, 15 Jul 2017 20:23:15 -0600
       
       acme: implement Cmd-Shift-Z for Redo on Mac
       
       Change-Id: Ie9332ed473609bd6ca156be0843dc5411cbf7b93
       Reviewed-on: https://plan9port-review.googlesource.com/2941
       Reviewed-by: Russ Cox <rsc@swtch.com>
       
       Diffstat:
         M src/cmd/acme/text.c                 |       4 ++++
       
       1 file changed, 4 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
       t@@ -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 */