mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2025-01-02 16:31:38 +00:00
-displaySize
git-svn-id: svn://qnap.local/TwoTerm/trunk@3179 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
4363682e49
commit
8b59e647d0
@ -43,6 +43,8 @@ extern "C" unsigned EventCharacters(NSEvent *event, std::u32string &rv);
|
||||
-(void)processCharacter: (uint8_t)c screen: (Screen *)screen output: (OutputChannel *)output;
|
||||
-(void)processData: (uint8_t *)data length: (size_t)length screen: (Screen *)screen output: (OutputChannel *)output;
|
||||
|
||||
-(struct winsize)displaySize;
|
||||
|
||||
@required
|
||||
|
||||
-(void)keyDown: (NSEvent *)event screen: (Screen *)screen output: (OutputChannel *)output;
|
||||
|
@ -150,6 +150,9 @@
|
||||
}
|
||||
|
||||
|
||||
if ([_emulator respondsToSelector: @selector(displaySize)]) {
|
||||
ws = [_emulator displaySize];
|
||||
}
|
||||
|
||||
[_emulatorView resizeTo: iSize(ws.ws_col, ws.ws_row) animated: NO];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user