# chore: Use IsTerminal trait instead of relying on libc to detect stdout being a terminal \(\#2908\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ea0e5e880e839ab2e0b3fd2e0dd456f418352d9c

Requested commit: ea0e5e880e839ab2e0b3fd2e0dd456f418352d9c

Commit: ea0e5e880e839ab2e0b3fd2e0dd456f418352d9c

Tree: beb4fa4dadc1fb32d7b2bcb5e2053a5af1b6f3c0

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
chore: Use IsTerminal trait instead of relying on libc to detect stdout being a terminal (#2908)

IsTerminal was added in 1.70.

Release Notes:
- N/A
```

## Parents

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

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