Fixed ^C not giving focus to the console window

This commit is contained in:
Lior Halphon 2017-05-27 17:16:20 +03:00
parent a69f0a64b1
commit f34103473e

View File

@ -395,6 +395,7 @@ static void printImage(GB_gameboy_t *gb, uint32_t *image, uint8_t height,
if (!running) { if (!running) {
[self start]; [self start];
} }
[self.consoleWindow makeKeyAndOrderFront:nil];
[self.consoleInput becomeFirstResponder]; [self.consoleInput becomeFirstResponder];
} }