A low-level ncurses wrapper for Crystal
-
Add the dependency to your
shard.yml
:dependencies: ncrs: github: nikolaykys/ncrs
-
Run
shards install
require "ncrs"
require "ncrs"
app = Ncrs::Ui.new
app.noecho
app.prtln "Type any character to see it in bold"
ch = app.input "Input: "
app.prtln "#{ch.unsafe_chr}", Ncrs::Consts::A_BOLD
app.ref
app.input
app.end
$ shards build
- Fork it (https://github.com/nikolaycc/ncrs/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
- NikolayKYS - creator and maintainer