Always synchronize terminal before rendering it (#4114)

Previously, we were trying not to synchronize the terminal too often
because there could be multiple layout/paint calls prior to rendering a
frame.

Now that we perform a single render pass per frame, we can just
synchronize the terminal state. Not doing so could make it seem like
we're dropping frames.

Release Notes:

- Improved terminal rendering performance.
194e0f3231Antonio Scandurra committed on 1/18/2024, 6:54:13 PM· committed by GitHubparents28a2337ed28170
2 files changedLine totals unavailable