From f34103473e260111ed70011de1b101628079cfce Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 27 May 2017 17:16:20 +0300 Subject: [PATCH] Fixed ^C not giving focus to the console window --- Cocoa/Document.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Cocoa/Document.m b/Cocoa/Document.m index 8059de7..5ed7673 100644 --- a/Cocoa/Document.m +++ b/Cocoa/Document.m @@ -395,6 +395,7 @@ static void printImage(GB_gameboy_t *gb, uint32_t *image, uint8_t height, if (!running) { [self start]; } + [self.consoleWindow makeKeyAndOrderFront:nil]; [self.consoleInput becomeFirstResponder]; }