Hawktui
Hawktui is a simple and easy to use TUI (Terminal User Interface) library for Ruby. It is built on the curses library.
So far it includes a StreamingTable
API and more APIs are planned.
Installation
Add this line to your application's Gemfile:
gem "hawktui"
Run the following command to install it:
bundle install
StreamingTable
The Hawktui::StreamingTable
API can be used to create a full screen table in your terminal that can be updated in real time. This is useful for displaying data that is constantly changing.
git clone https://github.com/jonmagic/hawktui
cd hawktui
bin/setup
bin/demo
See bin/demo for an example of how to use Hawktui::StreamingTable
and the implementation in lib/hawktui/streaming_table.rb for documentation.
Roadmap
- Add functionality to StreamingTable for selecting and acting on rows.