xterm-addon-fit
Advanced tools
Comparing version 0.1.0-beta2 to 0.1.0-beta3
{ | ||
"name": "xterm-addon-fit", | ||
"version": "0.1.0-beta2", | ||
"version": "0.1.0-beta3", | ||
"author": { | ||
@@ -8,7 +8,10 @@ "name": "The xterm.js authors", | ||
}, | ||
"main": "lib/FitAddon.js", | ||
"main": "lib/xterm-addon-fit.js", | ||
"types": "typings/xterm-addon-fit.d.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"prepublishOnly": "../../node_modules/.bin/tsc -p src" | ||
"build": "../../node_modules/.bin/tsc -p src", | ||
"prepackage": "npm run build", | ||
"package": "../../node_modules/.bin/webpack", | ||
"prepublishOnly": "npm run package" | ||
}, | ||
@@ -15,0 +18,0 @@ "peerDependencies": { |
@@ -42,3 +42,3 @@ /** | ||
if (this._terminal.rows !== dims.rows || this._terminal.cols !== dims.cols) { | ||
core._renderCoordinator.clear(); | ||
core._renderService.clear(); | ||
this._terminal.resize(dims.cols, dims.rows); | ||
@@ -75,4 +75,4 @@ } | ||
const geometry = { | ||
cols: Math.floor(availableWidth / core._renderCoordinator.dimensions.actualCellWidth), | ||
rows: Math.floor(availableHeight / core._renderCoordinator.dimensions.actualCellHeight) | ||
cols: Math.floor(availableWidth / core._renderService.dimensions.actualCellWidth), | ||
rows: Math.floor(availableHeight / core._renderService.dimensions.actualCellHeight) | ||
}; | ||
@@ -79,0 +79,0 @@ return geometry; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21663
9
200