New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blessed-contrib

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blessed-contrib - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

10

lib/layout/grid.js
var utils = require('../utils')
var dashboardMargin = 0
var widgetSpacing = 0

@@ -10,4 +9,5 @@

this.options = options
this.cellWidth = ((100 - dashboardMargin*2) / this.options.cols)
this.cellHeight = ((100 - dashboardMargin*2) / this.options.rows)
this.options.dashboardMargin = this.options.dashboardMargin || 0
this.cellWidth = ((100 - this.options.dashboardMargin*2) / this.options.cols)
this.cellHeight = ((100 - this.options.dashboardMargin*2) / this.options.rows)
}

@@ -22,4 +22,4 @@

var top = row * this.cellHeight + dashboardMargin
var left = col * this.cellWidth + dashboardMargin
var top = row * this.cellHeight + this.options.dashboardMargin
var left = col * this.cellWidth + this.options.dashboardMargin

@@ -26,0 +26,0 @@ var options = JSON.parse(JSON.stringify(opts));

@@ -17,2 +17,3 @@ var blessed = require('blessed')

this.logLines = []
this.interactive = false
}

@@ -27,3 +28,3 @@

this.setItems(this.logLines)
this.select(this.logLines.length)
this.scrollTo(this.logLines.length)
}

@@ -30,0 +31,0 @@

{
"name": "blessed-contrib",
"version": "2.0.2",
"version": "2.0.3",
"description": "",

@@ -16,3 +16,3 @@ "main": "index.js",

"devDependencies": {
"blessed": ">=0.0.44"
"blessed": "^0.0.51"
},

@@ -19,0 +19,0 @@ "dependencies": {

@@ -14,2 +14,4 @@ ## blessed-contrib

<img src="./docs/images/dashboard.png" alt="term" width="800">
<img src="./docs/images/term3.gif" alt="term" width="800">

@@ -268,3 +270,3 @@

Every node is a hash and it can have custom properties that can be used in "select" event callback. However, there is sevral special keys :
Every node is a hash and it can have custom properties that can be used in "select" event callback. However, there are several special keys :

@@ -271,0 +273,0 @@ * name

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