aboutsummaryrefslogtreecommitdiffstats
path: root/src/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/AppDelegate.m')
-rw-r--r--src/AppDelegate.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AppDelegate.m b/src/AppDelegate.m
index 0ee85e9..d6cef3e 100644
--- a/src/AppDelegate.m
+++ b/src/AppDelegate.m
@@ -33,6 +33,7 @@
_text_view = [[NSTextView alloc]
initWithFrame:NSMakeRect(0, 0, 400, 400)];
+ [_text_view setAllowsUndo:YES];
[[_window contentView] addSubview:_text_view];
// [_window setContentView:_text_view];
}