terminal_view: Fix new flaky terminal tests (#47753)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
aa6afca524Lukas Wirth committed on 1/27/2026, 11:38:17 AM· committed by GitHubparent7e8ced2
1 file changedLine totals unavailable