ncurses
forked from SamualLB/ncursesncurses
Ncurses Bindings for Crystal
Installation
Add this to your application's shard.yml
:
dependencies:
ncurses:
github: SamualLB/ncurses
Usage
require "ncurses"
Basic Printing
NCurses.start
NCurses.print "Hello world!"
NCurses.end
Run Examples
Prints input
$ crystal run examples/input.cr
Displays text with attributes
$ crystal run examples/attributes.cr
Displays text with colors
$ crystal run examples/colors.cr
Shows separate windows
$ crystal run examples/windows.cr
Mouse interaction with individual windows
$ crystal run examples/window_enclose.cr
Contributing
- Fork it ( https://github.com/SamualLB/ncurses.git )
- 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
- (https://github.com/jreinert) Joakim Reinert - creator, maintainer
- (https://github.com/SamualLB) Samual Black - maintainer
Repository
ncurses
Owner
Statistic
- 0
- 0
- 0
- 3
- 0
- about 5 years ago
- September 11, 2019
License
MIT License
Links
Synced at
Fri, 08 Nov 2024 05:50:41 GMT
Languages