# Always synchronize terminal before rendering it · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ed28170d428063bb64b23287c333368b9b721190)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ed28170d428063bb64b23287c333368b9b721190

Requested commit: ed28170d428063bb64b23287c333368b9b721190

Commit: ed28170d428063bb64b23287c333368b9b721190

Tree: 505b3afc6b4657a95a74c18130e4931eec3fe70c

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Always synchronize terminal before rendering it

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.

```

## Parents

- [9240a1a70730c45e7e9a702abb6967f74cb1d2f6](https://git.cafe/gitcafe/zed/commit/9240a1a70730c45e7e9a702abb6967f74cb1d2f6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ed28170d428063bb64b23287c333368b9b721190?format=markdown)
