Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softmoth/raku-term-curses
Raku binding to the Curses terminal-independent character screen library
https://github.com/softmoth/raku-term-curses
character-screens curses curses-library raku
Last synced: 14 days ago
JSON representation
Raku binding to the Curses terminal-independent character screen library
- Host: GitHub
- URL: https://github.com/softmoth/raku-term-curses
- Owner: softmoth
- License: artistic-2.0
- Created: 2012-07-17T03:04:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T03:44:08.000Z (over 4 years ago)
- Last Synced: 2024-11-05T21:50:10.048Z (2 months ago)
- Topics: character-screens, curses, curses-library, raku
- Language: Raku
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Term::Curses
The curses library provides terminal-independent, portable manipulation of
character screens. This Raku module provides a NativeCall wrapper around
the system ncurses library.## Synopsis
```raku
use Term::Curses;my $win = Term::Curses.new(:start_color);
END $win.endwin();
$win.x = 10;
$win.y = $win.maxy / 2;
$win.addstr("Hello, world!");
$win.refresh;
$win.getkey;
```## TODO
- Handle UTF-8 input; currently it comes in one-key-per-octet
- Use the wide-character functions consistently
- Work out a decent API
- Port example programs from other curses libs
- Proper tests
- Expose much more of the curses library
- Expose menu, forms, and panel features
- More docs## LICENSE
Released under the
[Artistic License 2.0](http://www.perlfoundation.org/artistic_license_2_0).Copyright © 2012-2020 Tim Siegel ``