crt
crt.cr 
Bindings for libncursesw and crt class
- crystal-0.19.1 ready
Installation
Add this to your application's shard.yml
:
dependencies:
crt:
github: maiha/crt.cr
Usage
require "crt"
win = Crt::Window.new(24, 80)
win.clear
win.print(5, 10, "hello world")
win.refresh
Crt.done
Supported C Functions
- see: https://github.com/maiha/crt.cr/blob/master/src/libncursesw.cr
Development
- for ubuntu
apt-get install libncursesw5-dev
apt-get install libgpm-dev # needs only for static link
Contributing
- Fork it ( https://github.com/maiha/crt.cr/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
- maiha maiha - creator, maintainer