Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

curses

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curses - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch

6

example/hello.js

@@ -1,2 +0,1 @@

/* load curses */

@@ -41,6 +40,7 @@ var curses = require('../curses')

/* setup the subwindow's background and echo Hello world! into it */
curses.wattrset(subwin, curses.color_pair(GLYPH_COLOR));
curses.wbkgd(subwin, '\u2591'.charCodeAt(0));
curses.wbkgd(subwin, ' '.charCodeAt(0)|curses.color_pair(GLYPH_COLOR)|curses.A_REVERSE);
curses.wclear(subwin);
curses.box(subwin, 0, 0);
curses.wmove(subwin, 1, 8);
curses.wattrset(subwin, curses.color_pair(GLYPH_COLOR));
curses.waddstr(subwin, "Hello world!");

@@ -47,0 +47,0 @@ curses.wrefresh(subwin);

{
"name" : "curses",
"version" : "0.0.8",
"description" : "Bindings for the native curses library, a full featured console IO library.",
"main" : "./curses",
"dependencies" : {
"tar" : ">=0.1.13"
},
"scripts" : {
"install" : "node ./pre-build.js",
"postinstall" : "node-gyp rebuild --release",
"test" : "node ./test/test.js"
},
"keywords" : [
"curses", "console", "IO",
"window", "panel", "UI",
"color", "terminal"
],
"repository" : "git://github.com/fresc81/node-curses.git",
"author" : "Paul Bottin",
"license" : "BSD"
"name": "curses",
"version": "0.0.9",
"description": "Bindings for the native curses library, a full featured console IO library.",
"main": "./curses",
"dependencies": {
"tar": ">=0.1.13"
},
"scripts": {
"install": "node ./pre-build.js",
"postinstall": "node-gyp rebuild --release",
"test": "node ./test/test.js"
},
"keywords": [
"curses",
"console",
"IO",
"window",
"panel",
"UI",
"color",
"terminal"
],
"repository": "git://github.com/fresc81/node-curses.git",
"author": "Paul Bottin",
"license": "BSD"
}

@@ -81,6 +81,7 @@

/* setup the subwindow's background and echo Hello world! into it */
curses.wattrset(subwin, curses.color_pair(GLYPH_COLOR));
curses.wbkgd(subwin, '\u2591'.charCodeAt(0));
curses.wbkgd(subwin, ' '.charCodeAt(0)|curses.color_pair(GLYPH_COLOR)|curses.A_REVERSE);
curses.wclear(subwin);
curses.box(subwin, 0, 0);
curses.wmove(subwin, 1, 8);
curses.wattrset(subwin, curses.color_pair(GLYPH_COLOR));
curses.waddstr(subwin, "Hello world!");

@@ -96,7 +97,11 @@ curses.wrefresh(subwin);

![hello.js](node-curses/wiki/hello.png)
Look at the bottom of [curses.cc](node-curses/blob/master/src/curses.cc "src/curses") to
see what already has been implemented.
See the ncurses manual for descriptions of the functions.
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
[ncurses HOWTO](http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ "ncurses HOWTO")
http://invisible-island.net/ncurses/man/ncurses.3x.html
[ncurses manual](http://invisible-island.net/ncurses/man/ncurses.3x.html "ncurses manual")

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc