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

blessed

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blessed - npm Package Compare versions

Comparing version 0.1.19 to 0.1.20

37

lib/helpers.js

@@ -159,38 +159,1 @@ /**

});
// NOTE: Leave these here for now if we
// want to potentially support node <=v0.6.0.
helpers.isTTY = function(stream) {
if (stream.setRawMode || stream.isTTY) {
return true;
}
if (stream === process.stdin) {
return true;
}
// if (stream.fd != null) {
// return require('tty').isatty(stream.fd);
// }
return false;
};
helpers.setRawMode = function(stream, value) {
if (stream.setRawMode) {
return stream.setRawMode(value);
}
if (stream === process.stdin) {
helpers._isRaw = value;
return require('tty').setRawMode(value);
}
throw new Error('Could not set raw mode.');
};
helpers.isRaw = function(stream) {
if (stream.isRaw != null) {
return stream.isRaw;
}
if (stream === process.stdin) {
return !!helpers._isRaw;
}
throw new Error('Could not check raw mode.');
};

8

lib/widgets/screen.js

@@ -1725,3 +1725,5 @@ /**

program.input.pause();
program.input.setRawMode(false);
if (program.input.setRawMode) {
program.input.setRawMode(false);
}

@@ -1732,3 +1734,5 @@ var resume = function() {

program.input.setRawMode(true);
if (program.input.setRawMode) {
program.input.setRawMode(true);
}
program.input.resume();

@@ -1735,0 +1739,0 @@ program.output.write = write;

@@ -5,3 +5,3 @@ {

"author": "Christopher Jeffrey",
"version": "0.1.19",
"version": "0.1.20",
"main": "./lib/blessed.js",

@@ -15,2 +15,5 @@ "bin": "./bin/tput.js",

"tags": ["curses", "tui", "tput", "terminfo", "termcap"],
"engines": {
"node": ">= 0.8.0"
},
"browserify": {

@@ -17,0 +20,0 @@ "transform": ["./browser/transform.js"]

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