clearscreen

Crates.ioclearscreen
lib.rsclearscreen
version3.0.0
sourcesrc
created_at2021-04-25 08:10:45.27047
updated_at2024-04-11 04:02:14.595622
descriptionCross-platform terminal screen clearing
homepagehttps://github.com/watchexec/clearscreen
repositoryhttps://github.com/watchexec/clearscreen
max_upload_size
id389195
size263,614
FĂ©lix Saparelli (passcod)

documentation

https://github.com/watchexec/clearscreen

README

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.72.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 = "3.0.0"
clearscreen::clear().unwrap();
Commit count: 174

cargo fmt