mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2025-04-05 18:37:19 +00:00
emulator view - init fd to -1
This commit is contained in:
parent
49b165a56d
commit
bf7e733e8b
@ -155,7 +155,7 @@
|
||||
_paddingLeft = 8;
|
||||
_paddingTop = 8;
|
||||
_paddingBottom = 8;
|
||||
_fd = 1;
|
||||
_fd = -1;
|
||||
|
||||
//_foregroundColor = [[NSColor greenColor] retain];
|
||||
//_backgroundColor = [[NSColor blackColor] retain];
|
||||
@ -233,6 +233,10 @@
|
||||
[self becomeFirstResponder];
|
||||
}
|
||||
|
||||
-(BOOL)canBecomeKeyView {
|
||||
return YES;
|
||||
}
|
||||
|
||||
-(BOOL)acceptsFirstResponder
|
||||
{
|
||||
return YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user