terminal: Try to fix flaky macOS test (#43971)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
5b6663ef97Lukas Wirth committed on 12/2/2025, 8:21:18 AM· committed by GitHubparentf445f22
1 file changedLine totals unavailable