tui-rs VS crossterm

Compare tui-rs vs crossterm and see what are their differences.

tui-rs

Build terminal user interfaces and dashboards using Rust (by fdehau)
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
tui-rs crossterm
68 32
10,829 3,427
- 2.5%
4.7 6.7
over 1 year ago 13 days ago
Rust Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tui-rs

Posts with mentions or reviews of tui-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.

crossterm

Posts with mentions or reviews of crossterm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-18.
  • Matanuska ADR 002 - Architecture
    3 projects | dev.to | 18 Dec 2024
    If applicable, drawing procedures - ie, wrapping ink, ratatui crossterm, etc.
  • A REPL for Fat-Finger Friendly Typing
    2 projects | dev.to | 21 Oct 2024
    I have staked my entire professional and financial future on building things “from scratch,” so I faced a quandary on day 1 of this project. I chose to use crossterm for the key detection primarily because of the cross-platform support. Honestly though, crossterm was very, very good. The API is intuitive and I was especially pleased with KeyModifiers (which we needed to handle Ctrl-C, which I thought was unnecessary, see above).
  • Build a password manager with Rust - Part 2
    3 projects | dev.to | 1 Jun 2024
    I'm going to anticipate a "problem" we are going to encounter. For my use case, I would like the user to press Q or Enter to confirm or not that she wants to save a weak password. From what I understood, it's not straightforward to do this with the same io::stdin we used before because of the line-buffered nature of most terminals. Meaning, we have to wait for the user to press Enter to read the input. So, we are going to use the crossterm crate that allow us to read single chars from user's input. We can add it with: cargo add crossterm
  • State of the Terminal
    13 projects | news.ycombinator.com | 16 May 2024
  • Question: In your experience, is Helix always more snappy/responsive than Neovim?
    4 projects | /r/HelixEditor | 8 Dec 2023
    I have this feeling with all rust apps using crossterm crate as their backend like GitUI for example
  • Canonical way to handle concurrent events with crates that don't model that use case
    1 project | /r/rust | 21 May 2023
    I guess you could use EventStream like in this example
  • [2022 Day 14 (Part 1/2) [Rust] Made a small toy
    2 projects | /r/adventofcode | 16 May 2023
    Made a small toy using crossterm that simulates the falling sand using the rules laid out by day 14. Bit late to the party but was pretty fun. The moment I saw the prompt I was fully intent on making some sort of visualization for this after getting the solution.
  • How difficult is ncurses?
    7 projects | /r/commandline | 17 Apr 2023
    There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
  • AMDGPU_TOP v0.1.2 - switch to crossterm-backend, add simple fdinfo viewer
    6 projects | /r/linux_gaming | 4 Apr 2023
    Switching the backend of Cursive to crossterm removed dependence on ncurses
  • How can I create 'time' in my game loop?
    1 project | /r/learnrust | 19 Oct 2022
    I don't know where to start, CrossTerm can read events asynchronously with tokio https://github.com/crossterm-rs/crossterm/blob/master/examples/event-stream-tokio.rs , but I don't have any idea what that really means, I am coming from the HTML Canvas and TypeScript. I want the most simple and basic method possible. Cheers!

What are some alternatives?

When comparing tui-rs and crossterm you can also consider the following projects:

Cursive - A Text User Interface library for the Rust programming language

Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion

pancurses - A Rust curses library, supports Unix platforms and Windows

fui - Add CLI & form interface to your program. Docs: https://docs.rs/fui

Ink - 🌈 React for interactive command-line apps

ratatui - Rust library that's all about cooking up terminal user interfaces (TUIs) 👨‍🍳🐀 [Moved to: https://github.com/ratatui/ratatui]

monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.

rustgenhash - CLI tool written in Rust which can be used to generate hashes

bearlibterminal - BearLibTerminal FFI for Rust

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Did you know that Rust is
the 5th most popular programming language
based on number of references?