{"id":57512,"library":"term","title":"term","description":"A terminal formatting library for colored output and cursor manipulation.","status":"active","version":"1.2.1","language":"rust","source_language":null,"source_url":"https://github.com/Stebalien/term","tags":["terminal","color","formatting","tty"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nterm = \"1.2.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add term","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"stdout","correct":"use term::stdout;"}],"quickstart":{"code":"use term::stdout;\n\nfn main() {\n    let mut t = stdout().unwrap();\n    t.fg(term::color::RED).unwrap();\n    writeln!(t, \"Hello, world!\").unwrap();\n    t.reset().unwrap();\n}","lang":"rust","description":"Prints red text to the terminal."},"warnings":[{"fix":"Use a cross-platform terminal library like `crossterm` or `termion` if broader support is needed.","message":"Terminal features may not work on all platforms (e.g., Windows without proper terminal emulation).","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'color':7,13 'cursor':10 'format':4,14 'librari':5 'manipul':11 'output':8 'term':1 'termin':3,12 'tti':15","created_at":"2026-06-16T15:45:28.453695+00:00","updated_at":"2026-06-16T15:45:28.453695+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Stebalien/term","github":"https://github.com/Stebalien/term","docs":"https://docs.rs/term/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}