lib_termbox

Version, currently 1.0.01 version
  • 1.0.0latestMar 26, 2021

github.com/SamualLB/lib_termbox

Bare termbox bindings for Crystal

1 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  lib_termbox:
    github: SamualLB/lib_termbox
    version: ~> 1.0.0

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Samual Black

Dependencies

This version declares no dependencies.

README

lib_termbox

Binding for the termbox library

Installation

  1. Add to the shard.yml:
dependencies:
  lib_termbox:
    github: SamualLB/libtermbox
  1. Run shards install

NOTE: This requires the termbox library!

Usage

require "lib_termbox"

These a raw bindings, it is probably worth having some sort of interface between such as in the TUI backend.

A quick demo:

crystal run examples/init.cr

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/SamualLB/libtermbox/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