summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.c b/main.c
index d2d5a55..4118ecc 100644
--- a/main.c
+++ b/main.c
@@ -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':