Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewsuzuki/termbox-crystal
Bindings, wrapper, and utilities for termbox (terminal interface library) in Crystal
https://github.com/andrewsuzuki/termbox-crystal
Last synced: about 1 month ago
JSON representation
Bindings, wrapper, and utilities for termbox (terminal interface library) in Crystal
- Host: GitHub
- URL: https://github.com/andrewsuzuki/termbox-crystal
- Owner: andrewsuzuki
- License: mit
- Created: 2015-12-17T04:06:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T19:00:58.000Z (over 6 years ago)
- Last Synced: 2024-10-27T07:32:35.680Z (3 months ago)
- Language: Crystal
- Homepage:
- Size: 20.5 KB
- Stars: 43
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - termbox-crystal - Bindings and extension library for [termbox](https://github.com/nsf/termbox) (terminal UI library) (C bindings)
README
# termbox-crystal
Crystal bindings and wrapper for termbox
## Installation
Add this to your application's `shard.yml`:
```yaml
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](https://github.com/nsf/termbox) project page for more information.
## Usage
```crystal
require "termbox"
```See [termbox.h](https://github.com/nsf/termbox/blob/master/src/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
- [andrewsuzuki](https://github.com/andrewsuzuki) Andrew Suzuki - creator, maintainer