Registry / cli / ffi-ncurses

ffi-ncurses

JSON →
library0.4.0rbrubygemsunverified

An FFI wrapper around ncursesw 5.x for MRI Ruby 1.8.x, 1.9.x and JRuby.

gem install ffi-ncurses
INSTALL
IMPORT
SIG · FFI-NCURSES
F
ffi-ncurses
clirubyv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FFI::NCurses
require 'ffi-ncurses'

Initialize ncurses, display text, and wait for a key press.

require 'ffi-ncurses' FFI::NCurses.initscr FFI::NCurses.addstr('Hello, world!') FFI::NCurses.refresh FFI::NCurses.getch FFI::NCurses.endwin
Debug
Known issues
breakingOnly supports ncursesw 5.x; incompatible with ncurses 6.x.
fix
Use a more modern ncurses binding like 'curses' or 'ncursesw' gem.
affects: >= 0.4.0
Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
OpenAI (training)
1
Resources
ffi-ncurses — gem install ffi-ncurses · libregistry