diff --git a/src/posix/cocoa/st_console.mm b/src/posix/cocoa/st_console.mm index d33a3e361..09d0c9421 100644 --- a/src/posix/cocoa/st_console.mm +++ b/src/posix/cocoa/st_console.mm @@ -313,9 +313,10 @@ void FConsoleWindow::AddText(const char* message) if ([m_window isVisible]) { - [m_textView scrollRangeToVisible:NSMakeRange(m_characterCount, 0)]; - - [[NSRunLoop currentRunLoop] limitDateForMode:NSDefaultRunLoopMode]; + UpdateTimed([&]() + { + [m_textView scrollRangeToVisible:NSMakeRange(m_characterCount, 0)]; + }); } }