16 stable releases (3 major)

4.0.1 Jan 5, 2025
3.0.0 Apr 11, 2024
2.0.1 Apr 4, 2023
2.0.0 Dec 28, 2022
1.0.6 Jul 22, 2021

#38 in Command-line interface

Download history 12305/week @ 2024-10-27 12790/week @ 2024-11-03 11802/week @ 2024-11-10 12270/week @ 2024-11-17 11884/week @ 2024-11-24 12100/week @ 2024-12-01 12642/week @ 2024-12-08 13853/week @ 2024-12-15 6244/week @ 2024-12-22 9225/week @ 2024-12-29 14923/week @ 2025-01-05 16568/week @ 2025-01-12 13720/week @ 2025-01-19 16007/week @ 2025-01-26 14817/week @ 2025-02-02 15445/week @ 2025-02-09

60,938 downloads per month
Used in 90 crates (44 directly)

Apache-2.0 OR MIT

155KB
730 lines

Crate release version Crate license: Apache 2.0 or MIT CI status on main branch

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.1"
clearscreen::clear().unwrap();

Dependencies

~4–15MB
~226K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy