diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-07-31 00:10:35 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-07-31 00:10:35 +0100 |
commit | 526ce3a130732d4a2374a6e36a689d9e0cf5cc34 (patch) | |
tree | 9b6f76dbc70bf9a4d2becb9b9d8103eb57663aa0 /main.c | |
parent | 6da2f3f89afda08eeba385da1c36414154113d47 (diff) |
preliminary support for undo
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -122,6 +122,12 @@ void commands(FILE *fc){ case 'p': paste(); break; + case 'u': + undo_change(); + break; + case 'U': + redo_change(); + break; case 'q': check_modified(fc);/** FALLTHROUGH **/ case 'Q': |