diff --git a/English.lproj/TermWindow.xib b/English.lproj/TermWindow.xib
index e5cf62e..5f5fc3b 100644
--- a/English.lproj/TermWindow.xib
+++ b/English.lproj/TermWindow.xib
@@ -60,21 +60,18 @@
274
{{10, 10}, {560, 384}}
-
EmulatorView
{{20, 20}, {580, 404}}
-
CurveView
{{7, 11}, {620, 444}}
-
{{0, 0}, {1920, 1178}}
@@ -122,12 +119,12 @@
emulator.name
2
- 11
+ 12
- 11
-
-
+
0
IBCocoaFramework
diff --git a/TermWindowController.mm b/TermWindowController.mm
index f4a7f64..1079f76 100644
--- a/TermWindowController.mm
+++ b/TermWindowController.mm
@@ -8,6 +8,8 @@
#import "TermWindowController.h"
#import "EmulatorView.h"
+#import "VT52.h"
+
#define TTYDEFCHARS
@@ -140,12 +142,10 @@
- (void)windowDidLoad
{
- NSWindow *window = [self window];
-
[super windowDidLoad];
+ if (!_emulator) [self setEmulator: [[VT52 new] autorelease]];
- [window setTitle: [_emulator name]];
[_emulatorView setEmulator: _emulator];
[self initPTY];