clearscreen

Crates.ioclearscreen
lib.rsclearscreen
version
sourcesrc
created_at2021-04-25 08:10:45.27047+00
updated_at2025-01-05 00:06:56.055119+00
descriptionCross-platform terminal screen clearing
homepagehttps://github.com/watchexec/clearscreen
repositoryhttps://github.com/watchexec/clearscreen
max_upload_size
id389195
Cargo.toml error:TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
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.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();
Commit count: 191

cargo fmt