crt
Version, currently 0.4.08 versions
github.com/maiha/crt.cr
Bindings for libncursesw and crt class
27 stars
1 dependent
License: MIT
Nothing has been indexed for 0.4.0 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:
crt:
github: maiha/crt.cr
version: ~> 0.4.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.4.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
Documentation
Generated from the source of the current release. The first visit to a release that has never been documented starts its build.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# crt.cr [](https://travis-ci.org/maiha/crt.cr)
Bindings for libncursesw and crt class
- crystal: 0.27.2 0.31.1 0.32.1 0.33.0
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
crt:
github: maiha/crt.cr
version: 0.4.2
```
## Usage
```crystal
require "crt"
win = Crt::Window.new(24, 80)
win.clear
win.print(5, 10, "hello world")
win.refresh
Crt.done
```
See [./examples/](./examples/) for more usages.
## Supported C Functions
- see: https://github.com/maiha/crt.cr/blob/master/src/libncursesw.cr
## Development
- for ubuntu
```shell
apt-get install libncursesw5-dev
apt-get install libgpm-dev # needs only for static link
```
## Contributing
1. Fork it ( https://github.com/maiha/crt.cr/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
- [maiha](https://github.com/maiha) maiha - creator, maintainer
Links
This release
- Version
0.4.0- Tagged
- Mar 19, 2021
- Commit
98ba8fca1b16- Indexed
- not yet
Dependents
Repository
github.com/maiha/crt.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 8