Skip to content

AlexRedEye/pocket-clear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pocket-clear

Cross-platform terminal clear helper.

To be entirely transparent I used AI to make most of this code since I'm still learning. I don't know if this is the safest way to do this or if the most effiecient. As I learn and start to understand concepts I will update this if needed. I simply wanted an easy way to clear the terminal while I make silly CLI games.

Installing as a dependancy

cargo add pocket-clear

Usage

use pocket_clear::clear;

fn main() -> std::io::Result<()> {
    clear()?;
    Ok(())
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages