# crossterm

> Cross-platform terminal manipulation for Rust, on Unix and Windows

Source: https://talira.ai/catalog/crossterm-cgz7pyzx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / terminal ui](https://talira.ai/categories/libraries/terminal-ui), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Timon Post](https://talira.ai/orgs/timon-post.md)

crossterm is an open source pure-Rust library for controlling terminals the same way on Unix and Windows: moving and hiding the cursor, styled and coloured output, clearing and scrolling, raw mode and the alternate screen, and reading keyboard, mouse and resize events. Ratatui, Cursive and Broot are built on it.

## Links

- GitHub: https://github.com/crossterm-rs/crossterm
- Docs: https://docs.rs/crossterm/

## Problems it solves

- control the terminal cursor and colours from Rust on Windows and Linux
- read keyboard and mouse events in a Rust terminal app
- put the terminal in raw mode for a full-screen Rust TUI

## Features

- works on Unix and Windows terminals
- cursor movement, position, hiding and blinking
- 16, 256 and RGB colours and text attributes
- raw mode, alternate screen, clearing, scrolling and terminal size
- keyboard, mouse and resize events, with an optional futures Stream

## Limitations

- 256-colour and RGB colour need Windows 10 or Unix[^1]

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 0.80, adoption 0.73, momentum 0.49, community 0.93, backing 0.30, extensibility 0.00.

- last commit 16 days ago
- 30 commits in the last 90 days
- latest release 0.28 2.3 years ago
- 4.3k GitHub stars
- 210 contributors
- backed by Timon Post

## Alternatives

- [console](https://talira.ai/catalog/console-jd4f55wc.md): Terminal access, colours and styling for Rust command-line apps
- [colored](https://talira.ai/catalog/colored-n7y9z8yd.md): The simplest way to add colours in your terminal from Rust
- [Ratatui](https://talira.ai/catalog/ratatui-wphpz21c.md): A Rust library for building fast, lightweight, rich terminal user interfaces
- [indicatif](https://talira.ai/catalog/indicatif-m4kdbaq2.md): Progress bars and spinners for Rust command-line apps
- [dialoguer](https://talira.ai/catalog/dialoguer-5x7nctdx.md): Rust library for interactive command-line prompts

## Sources

[^1]: https://github.com/crossterm-rs/crossterm/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/crossterm-rs/crossterm/blob/master/LICENSE (checked 28 Nov 2026)
