ncurses v0.0.4

Ncurses bindings for Crystal https://samuallb.github.io/ncurses/

Releases:

  • v0.0.4 - July 14, 2019
  • v0.0.3 - July 11, 2019
  • v0.0.2 - August 7, 2018
  • v0.0.1 - July 17, 2018

Owner:

Build Status

ncurses

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

  1. Fork it ( https://github.com/SamualLB/ncurses.git )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Github statistic:
  • 2
  • 1
  • 0
  • 1
  • 1
  • 3 days ago

License:

MIT License

Links: