Popularity
6.7
Stable
Activity
0.0
Stable
27
4
10
Programming language: Crystal
License: MIT License
Tags:
Low Level Bindings
Latest version: v0.4.2
crt.cr alternatives and similar shards
Based on the "Low level bindings" category.
Alternatively, view crt.cr alternatives based on common mentions on social networks and blogs.
-
termbox-crystal
Bindings, wrapper, and utilities for termbox (terminal interface library) in Crystal -
serialport.cr
Crystal bindings for libserialport: cross-platform library for accessing serial ports.
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
Do you think we are missing an alternative of crt.cr or a related project?
README
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
:
dependencies:
crt:
github: maiha/crt.cr
version: 0.4.2
Usage
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
Development
- for ubuntu
apt-get install libncursesw5-dev
apt-get install libgpm-dev # needs only for static link
Contributing
- Fork it ( https://github.com/maiha/crt.cr/fork )
- 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
- maiha maiha - creator, maintainer