deku
A wrapper around agatan/ncurses.cr that provides a manageable framework to build reactive UI elements.
Why the name deku
?
The name The Crystal UI Kit
popped into my head at some point, so I just
switched some letters around to get DE crystal Ui Kit
.
Installation
Add this to your application's shard.yml
:
dependencies:
deku:
github: TsundereBug/deku
Usage
require "deku"
A basic popup window in the terminal:
require "deku"
popup = Deku::UI::Popup.new(title: "Hello World", description: "This is a test popup.", buttons: {0 => "Ok"})
window = Deku::Window.init
window.add(popup)
window.run
Development
TODO Write development instructions here
Contributing
- Fork it ( https://github.com/TsundereBug/deku/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- TsundereBug Anthony Cerruti - creator, maintainer