update info
This commit is contained in:
parent
eab243fc7a
commit
624299b932
12
README.md
12
README.md
|
@ -1,4 +1,6 @@
|
||||||
# blessed
|
# neo-blessed
|
||||||
|
|
||||||
|
A fork of the original blessed with bug fixes and maintenance.
|
||||||
|
|
||||||
A curses-like library with a high level terminal interface API for node.js.
|
A curses-like library with a high level terminal interface API for node.js.
|
||||||
|
|
||||||
|
@ -46,7 +48,7 @@ __NOTE__: It is recommend you use either `smartCSR` or `fastCSR` as a
|
||||||
or when manipulating lines.
|
or when manipulating lines.
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
var blessed = require('blessed');
|
var blessed = require('neo-blessed');
|
||||||
|
|
||||||
// Create a screen object.
|
// Create a screen object.
|
||||||
var screen = blessed.screen({
|
var screen = blessed.screen({
|
||||||
|
@ -2139,7 +2141,7 @@ A simple telnet server might look like this (see examples/blessed-telnet.js for
|
||||||
a full example):
|
a full example):
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
var blessed = require('blessed');
|
var blessed = require('neo-blessed');
|
||||||
var telnet = require('telnet2');
|
var telnet = require('telnet2');
|
||||||
|
|
||||||
telnet({ tty: true }, function(client) {
|
telnet({ tty: true }, function(client) {
|
||||||
|
@ -2254,7 +2256,7 @@ This will actually parse the xterm terminfo and compile every
|
||||||
string capability to a javascript function:
|
string capability to a javascript function:
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
var blessed = require('blessed');
|
var blessed = require('neo-blessed');
|
||||||
|
|
||||||
var tput = blessed.tput({
|
var tput = blessed.tput({
|
||||||
terminal: 'xterm-256color',
|
terminal: 'xterm-256color',
|
||||||
|
@ -2275,7 +2277,7 @@ $ echo "$(tput.js setaf 2)Hello World$(tput.js sgr0)"
|
||||||
The main functionality is exposed in the main `blessed` module:
|
The main functionality is exposed in the main `blessed` module:
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
var blessed = require('blessed')
|
var blessed = require('neo-blessed')
|
||||||
, program = blessed.program();
|
, program = blessed.program();
|
||||||
|
|
||||||
program.key('q', function(ch, key) {
|
program.key('q', function(ch, key) {
|
||||||
|
|
16
package.json
16
package.json
|
@ -1,19 +1,25 @@
|
||||||
{
|
{
|
||||||
"name": "blessed",
|
"name": "neo-blessed",
|
||||||
"description": "A high-level terminal interface library for node.js.",
|
"description": "A high-level terminal interface library for node.js.",
|
||||||
"author": "Christopher Jeffrey",
|
"author": "Christopher Jeffrey",
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"name": "Iuri Matias",
|
||||||
|
"email": "iuri.matias@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
"version": "0.1.81",
|
"version": "0.1.81",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./lib/blessed.js",
|
"main": "./lib/blessed.js",
|
||||||
"bin": "./bin/tput.js",
|
"bin": "./bin/tput.js",
|
||||||
"preferGlobal": false,
|
"preferGlobal": false,
|
||||||
"repository": "git://github.com/chjj/blessed.git",
|
"repository": "git://github.com/embark-framework/neo-blessed.git",
|
||||||
"homepage": "https://github.com/chjj/blessed",
|
"homepage": "https://github.com/embark-framework/neo-blessed",
|
||||||
"bugs": { "url": "http://github.com/chjj/blessed/issues" },
|
"bugs": { "url": "http://github.com/embark-framework/neo-blessed/issues" },
|
||||||
"keywords": ["curses", "tui", "tput", "terminfo", "termcap"],
|
"keywords": ["curses", "tui", "tput", "terminfo", "termcap"],
|
||||||
"tags": ["curses", "tui", "tput", "terminfo", "termcap"],
|
"tags": ["curses", "tui", "tput", "terminfo", "termcap"],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.8.0"
|
"node": ">= 8.0.0"
|
||||||
},
|
},
|
||||||
"browserify": {
|
"browserify": {
|
||||||
"transform": ["./browser/transform.js"]
|
"transform": ["./browser/transform.js"]
|
||||||
|
|
Loading…
Reference in New Issue