ncrs
Version, currently main branch1 version
- main branchlatestJan 17, 2023
github.com/Nikolaycc/Ncrs
Ncrs is A low-level ncurses wrapper for Crystal
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
ncrs:
github: Nikolaycc/Ncrs
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.5.0- License
- MIT
- Author
- NikolayKYS
- Target
ncrsfrom src/main.cr
Dependencies
This version declares no dependencies.
README
Ncrs
A low-level ncurses wrapper for Crystal
Installation
-
Add the dependency to your
shard.yml:dependencies: ncrs: github: nikolaykys/ncrs -
Run
shards install
Usage
require "ncrs"
Example
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
Development
$ shards build
Contributing
- 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
Contributors
- NikolayKYS - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Jan 17, 2023
- Crystal
1.5.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Nikolaycc/Ncrs
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1