17 stable releases (3 major)
| 4.0.2 | Jun 25, 2025 |
|---|---|
| 4.0.1 | Jan 5, 2025 |
| 3.0.0 | Apr 11, 2024 |
| 2.0.1 | Apr 4, 2023 |
| 1.0.6 | Jul 22, 2021 |
#40 in Command-line interface
250,690 downloads per month
Used in 109 crates
(59 directly)
155KB
730 lines
ClearScreen
Cross-platform terminal screen clearing library.
- API documentation.
- Dual-licensed with Apache 2.0 and MIT.
- Minimum Supported Rust Version: 1.79.0.
- Only the last five stable versions are supported.
- MSRV increases beyond that range at publish time will not incur major version bumps.
Tested with and tweaked for over 80 different terminals, multiplexers, SSH clients. See my research notes in the TERMINALS.md file.
Quick start
[dependencies]
clearscreen = "4.0.2"
clearscreen::clear().unwrap();
Dependencies
~3–16MB
~156K SLoC