• Stars
    star
    44
  • Rank 613,697 (Top 13 %)
  • Language
    Crystal
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bindings, wrapper, and utilities for termbox (terminal interface library) in Crystal

termbox-crystal

Crystal bindings and wrapper for termbox

Installation

Add this to your application's shard.yml:

dependencies:
  termbox:
    github: andrewsuzuki/termbox-crystal

Don't have termbox-c? Just run ./install-termbox.sh, it will clone termbox into lib-termbox and symlink it to within /usr/local/lib. Or check out the termbox project page for more information.

Usage

require "termbox"

See termbox.h and examples for now.

Examples

See examples/simple.cr for basic usage.

Contributing

  1. Fork it (https://github.com/andrewsuzuki/termbox-crystal/fork)
  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