reline
The compatible library with the API of Ruby's stdlib 'readline' (by ruby)
curses
Ruby binding for curses, ncurses, and PDCurses. Formerly part of the ruby standard library. (by ruby)
reline | curses | |
---|---|---|
2 | 4 | |
236 | 286 | |
1.7% | 0.3% | |
8.6 | 2.8 | |
3 days ago | 21 days ago | |
Ruby | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
reline
Posts with mentions or reviews of reline.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-22.
-
Configuring IRB autocomplete
Until recently there was no good way to configure IRB's autocomplete styling. But a few months ago, a Reline::Face class was added to IRB that offers a simple public API for configuring the colors of the autocomplete dialog.
-
Ncurses in Ruby style?
You can also use https://github.com/ruby/reline
curses
Posts with mentions or reviews of curses.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-14.
-
CLI tools at Aha!
As we make updates to our ops and similar CLI utilities, we often improve the user experience by taking advantage of various Ruby gems. With little effort compared to low-level coding with curses, our command-line utilities that used to be cryptic and confusing are now interactive, easy to use, and — dare I say — elegant.
-
Ncurses in Ruby style?
https://github.com/ruby/curses is the official ncurses gem for ruby
-
Ok y’all. How can we get this kind of real-time memory profiling in Ruby? Does it already exist? Is anyone working on this?
As a follow up, if anyone is interested in working on something like this, Ruby has an official curses gem supporting the curses family of libraries.
-
Parallel progress output from different threads
First, a word of caution. "Updating" a terminal or console is possible, but it is rife with gotchas and inconsistencies. The go to library/application for this type of interfaces is Curses. There are Ruby bindings, but this injects a system dependency that may or may not be available on a given platform. Also, Curses is way overkill if all you're doing is output.
What are some alternatives?
When comparing reline and curses you can also consider the following projects:
diaspora* - A privacy-aware, distributed, open source social network.
cpaint - https://briancallahan.net/blog/20220220.html