[](https://crates.io/crates/clearscreen)
[][copyright]
[](https://github.com/watchexec/clearscreen/actions/workflows/main.yml)
# ClearScreen
_Cross-platform terminal screen clearing library._
- **[API documentation][docs]**.
- [Dual-licensed][copyright] with Apache 2.0 and MIT.
- Minimum Supported Rust Version: 1.60.0.
- Only the last five stable versions are supported.
- MSRV increases beyond that range at publish time will not incur major version bumps.
[copyright]: ./COPYRIGHT
[docs]: https://docs.rs/clearscreen
Tested with and tweaked for over 80 different terminals, multiplexers, SSH clients.
See my research notes in the [TERMINALS.md](./TERMINALS.md) file.
## Quick start
```toml
[dependencies]
clearscreen = "2.0.1"
```
```rust
clearscreen::clear().unwrap();
```