ncurses
Version, currently 0.0.34 versions
- 0.0.4latestJul 14, 2019
- 0.0.3not indexedSep 11, 2019
- 0.0.2not indexedSep 11, 2019
- 0.0.1not indexedSep 11, 2019
github.com/JohnDowson/ncurses
Ncurses bindings for Crystal
Nothing has been indexed for 0.0.3 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
ncurses:
github: JohnDowson/ncurses
version: ~> 0.0.3Then run:
shards installshard.yml
No shard.yml has been indexed for 0.0.3. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
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
- 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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.3- Tagged
- Sep 11, 2019
- Commit
d67bab105159- Indexed
- not yet
Dependents
Repository
github.com/JohnDowson/ncurses
Metadata
- Created
- Aug 16, 2026
- Updated
- Sep 24, 2026
- Synced
- Sep 24, 2026
- Versions
- 4