All Projects → SamualLB → ncurses

SamualLB / ncurses

Licence: MIT license
Ncurses bindings for Crystal

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to ncurses

mazeGenerator
Recursive Backtracker Maze Generation Algorithm with C++ using ncurses
Stars: ✭ 24 (+20%)
Mutual labels:  ncurses, ncurses-library
Snoo
A Reddit command line client written in Node.js, using modern ES-features
Stars: ✭ 39 (+95%)
Mutual labels:  ncurses, curses
croatoan
Common Lisp bindings for the ncurses terminal library.
Stars: ✭ 111 (+455%)
Mutual labels:  ncurses, curses
Termox
C++17 Terminal User Interface(TUI) Library.
Stars: ✭ 306 (+1430%)
Mutual labels:  ncurses, curses
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (+390%)
Mutual labels:  ncurses, curses
ngp
Ncurses code parsing tool
Stars: ✭ 52 (+160%)
Mutual labels:  ncurses, curses
Pdcurses
PDCurses - a curses library for environments that don't fit the termcap/terminfo model.
Stars: ✭ 604 (+2920%)
Mutual labels:  ncurses, curses
cxxcurses
Header only ncurses wrapper
Stars: ✭ 24 (+20%)
Mutual labels:  ncurses, curses
Netbsd Curses
libcurses and dependencies taken from netbsd and brought into a portable shape (at least to musl or glibc)
Stars: ✭ 93 (+365%)
Mutual labels:  ncurses, curses
Pacmixer
an alsamixer alike for PulseAudio.
Stars: ✭ 78 (+290%)
Mutual labels:  ncurses, curses
Rubiks cube
rubik's cube that runs in your terminal!
Stars: ✭ 73 (+265%)
Mutual labels:  ncurses, curses
Tuicss
Text-based user interface CSS library
Stars: ✭ 167 (+735%)
Mutual labels:  ncurses, curses
Vifm
Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Stars: ✭ 1,822 (+9010%)
Mutual labels:  ncurses, curses
ncurses guide
NCurses Examples from the book "Programmer's Guide to NCurses" with improvements and fixes
Stars: ✭ 43 (+115%)
Mutual labels:  ncurses, ncurses-library
readline-and-ncurses
Example demonstrating combining of readline and ncurses
Stars: ✭ 50 (+150%)
Mutual labels:  ncurses
AsciiAsciiRevolution
A Game for the OSGCC4
Stars: ✭ 21 (+5%)
Mutual labels:  ncurses
todo list rust
Simple Ncurses Todo List ☑
Stars: ✭ 19 (-5%)
Mutual labels:  ncurses
NCURSES-Programming-HOWTO-examples
CMake examples for code in http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/index.html
Stars: ✭ 114 (+470%)
Mutual labels:  ncurses
2048-in-terminal
Animated console version of the 2048 game
Stars: ✭ 128 (+540%)
Mutual labels:  ncurses
git-tui
Collection of human friendly terminal interface for git.
Stars: ✭ 95 (+375%)
Mutual labels:  curses

Build Status

ncurses

Ncurses Bindings for Crystal

Installation

  1. Add this to your application's shard.yml:
dependencies:
  ncurses:
    github: SamualLB/ncurses
  1. Run shards install

NOTE: You may need to install the wide ncurses development library libncursesw5-dev (Debian)

Usage

require "ncurses"

Basic Printing

NCurses.start

NCurses.print "Hello world!"

NCurses.end

Run Examples

Prints input

$ crystal run examples/input.cr

Displays text with attributes

$ crystal run examples/attributes.cr

Displays text with colors

$ crystal run examples/colors.cr

Shows separate windows

$ crystal run examples/windows.cr

Mouse interaction with individual windows

$ crystal run examples/window_enclose.cr

Scroll when overflowing window

$ crystal run examples/scroll.cr

Contributing

  1. Fork it ( https://github.com/SamualLB/ncurses.git )
  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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].