# Only emit resize event when size changed \(\#10419\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4e6f24a841f0e19b7a5cd62ebdb6e021d628b2e3

Requested commit: 4e6f24a841f0e19b7a5cd62ebdb6e021d628b2e3

Commit: 4e6f24a841f0e19b7a5cd62ebdb6e021d628b2e3

Tree: 562b561b13830259fff97e67aff302d37e57d60d

Author: CharlesChen0823

Committer: GitHub

## Message

```
Only emit resize event when size changed (#10419)

Currently, terminal will emit resize event every seconds, even if the
size not changed.
this PR fixed only emit resize event when size is changed.

Release Notes:

- N/A
```

## Parents

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

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