crystal_clear v0.2.0
Crystal Clear
Crystal library for building interactive and colorful terminal applications.
Installation
-
Add the dependency to your
shard.yml:dependencies: crystal_clear: github: bitmand/crystal_clear -
Run
shards install
Usage
require "crystal_clear"
Try with examples in examples/ dir:
crystal run example/spinner.cr
Spinner
require "crystal_clear"
CrystalClear::Spinner.start "Loading..."
sleep 5.seconds # do some work for 5 sec
CrystalClear::Spinner.stop "done!\n"
Terminal Size
require "crystal_clear"
term = CrystalClear::Terminal.new
puts term.size.cols
puts term.size.rows
Contributing
- Fork it (https://github.com/bitmand/crystal_clear/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
- bitmand - creator and maintainer
Repository
crystal_clear
Owner
Statistic
- 1
- 0
- 0
- 0
- 1
- about 7 hours ago
- February 12, 2026
License
MIT License
Links
Synced at
Fri, 13 Feb 2026 17:51:52 GMT
Languages