From cfa21ccf95b6522f1bd874ade4db0805f1568570 Mon Sep 17 00:00:00 2001 From: Timothy Bates Date: Tue, 16 Aug 2022 20:14:45 +0100 Subject: [PATCH] Update RController.m extensions to `fixBuggyOutput` to: 1. Catch menu item search and choose warnings from entering console. 2. Catch sleep assertion failures and suppress from user console. --- RController.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RController.m b/RController.m index 9abf9b9..0bc2a98 100644 --- a/RController.m +++ b/RController.m @@ -2141,6 +2141,12 @@ - (void) writeLogsWithBytes: (char*) buf length: (int) len type: (int) outputTyp s = fixBuggyOutput(s, @"Warning: Expected min height of view: .* to be less than or equal to "); /* bug in Monterey and up */ s = fixBuggyOutput(s, @"IsMenuKeyEvent: found no unichar data in event; retranslated without deadkeys to produce"); + + // new Ventura 2022-08-09 @tbates + s = fixBuggyOutput(s, @"Located .* match from search: item '.*' in menu '.*' with match penalty"); + s = fixBuggyOutput(s, @"Choosing result from list: item '.*' in menu '.*' with match penalty"); + s = fixBuggyOutput(s, @"Marking command key cache valid"); + s = fixBuggyOutput(s, @"Warning: Could not create system idle sleep assertion"); } [self flushROutput]; [self writeConsoleDirectly:s withColor:color];