crossterm
Cross platform terminal library rust (by crossterm-rs)
Our great sponsors
omnomnomicon | crossterm | |
---|---|---|
6 | 28 | |
6 | 2,949 | |
- | 2.2% | |
2.8 | 6.8 | |
6 months ago | 8 days ago | |
Rust | Rust | |
- | 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.
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.
omnomnomicon
Posts with mentions or reviews of omnomnomicon.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-01.
- Dynamic trait dispatch (closures in a HashMap)
-
Storing user input as array
https://github.com/pacak/omnomnomicon - something a bit fancier but not released yet, gives you readline + custom completing parsers.
-
Criterion + library crate with features
Have your crate in dev-dependencies with all the features you want. Example: https://github.com/pacak/omnomnomicon/blob/master/Cargo.toml
- thokr - a sleek typing tui written in rust
- NeoSH is looking for contributors!
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 2023-12-08.
-
Question: In your experience, is Helix always more snappy/responsive than Neovim?
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
I guess you could use EventStream like in this example
-
[2022 Day 14 (Part 1/2) [Rust] Made a small toy
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?
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
Switching the backend of Cursive to crossterm removed dependence on ncurses
-
How can I create 'time' in my game loop?
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!
-
termion development status?
Just wondering if anyone has any insight into the current development and maintenance of termion? It currently has 67 issues and 24 merge requests and no code activity has happened since Sep 27 2021, so nothing in over a year. I am of course grateful for the existing project, but just somewhat concerned that it ends up being abandoned or forgotten seeing as it is one of the premiere tui libraries written purely in Rust (other being crossterm).
-
I made a terminal-based flashcard app - with incremental reading!
I might make a gui frontend in the future, but for now i'll focus on the terminal. The terminal doesn't mean it doesnt support mac or windows though, they have terminals too! And the library used for accepting key-input is crossterm which supports windows!
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I used crossterm. Really love the simplicity of the API, definitely fit my purposes well.
-
How difficult could it be to make a console program that looks like this and has a game loop running on a separate thread? Any suggestions or crate recommendations are welcome!
For the terminal part you could use https://crates.io/crates/crossterm
What are some alternatives?
When comparing omnomnomicon and crossterm you can also consider the following projects:
rustyline - Readline Implementation in Rust
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
thokr - ✨ sleek typing tui with visualized results and historical logging
tui-rs - Build terminal user interfaces and dashboards using Rust
neosh - A next-gen shell for modern systems (wip)
pancurses - A Rust curses library, supports Unix platforms and Windows
nushell - A new type of shell
fui - Add CLI & form interface to your program. Docs: https://docs.rs/fui
toipe - yet another typing test, but crab flavoured
bearlibterminal - BearLibTerminal FFI for Rust
rustgenhash - CLI tool written in Rust which can be used to generate hashes
ratatui - Rust library that's all about cooking up terminal user interfaces (TUIs) 👨🍳🐀