Comparing version 2.8.0 to 2.8.1
{ | ||
"name": "xterm.js", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"ignore": ["demo", "test", ".gitignore"], | ||
@@ -5,0 +5,0 @@ "main": [ |
@@ -53,3 +53,3 @@ const browserify = require('browserify'); | ||
debug: true, | ||
entries: [`../${outDir}/xterm.js`], | ||
entries: [`${outDir}/xterm.js`], | ||
standalone: 'Terminal', | ||
@@ -56,0 +56,0 @@ cache: {}, |
@@ -37,2 +37,5 @@ "use strict"; | ||
} | ||
else { | ||
this._terminal.lines.get(this._terminal.y).isWrapped = true; | ||
} | ||
} | ||
@@ -39,0 +42,0 @@ else { |
@@ -32,2 +32,3 @@ "use strict"; | ||
describe('Linkifier', function () { | ||
var dom; | ||
var window; | ||
@@ -38,9 +39,7 @@ var document; | ||
var linkifier; | ||
beforeEach(function (done) { | ||
jsdom.env('', function (err, w) { | ||
window = w; | ||
document = window.document; | ||
linkifier = new TestLinkifier(); | ||
done(); | ||
}); | ||
beforeEach(function () { | ||
dom = new jsdom.JSDOM(''); | ||
window = dom.window; | ||
document = window.document; | ||
linkifier = new TestLinkifier(); | ||
}); | ||
@@ -47,0 +46,0 @@ function addRow(html) { |
@@ -35,2 +35,3 @@ "use strict"; | ||
describe('SelectionManager', function () { | ||
var dom; | ||
var window; | ||
@@ -42,11 +43,9 @@ var document; | ||
var selectionManager; | ||
beforeEach(function (done) { | ||
jsdom.env('', function (err, w) { | ||
window = w; | ||
document = window.document; | ||
buffer = new CircularList_1.CircularList(100); | ||
terminal = { cols: 80, rows: 2 }; | ||
selectionManager = new TestSelectionManager(terminal, buffer, rowContainer, null); | ||
done(); | ||
}); | ||
beforeEach(function () { | ||
dom = new jsdom.JSDOM(''); | ||
window = dom.window; | ||
document = window.document; | ||
buffer = new CircularList_1.CircularList(100); | ||
terminal = { cols: 80, rows: 2 }; | ||
selectionManager = new TestSelectionManager(terminal, buffer, rowContainer, null); | ||
}); | ||
@@ -53,0 +52,0 @@ function stringToRow(text) { |
@@ -7,2 +7,3 @@ "use strict"; | ||
describe('CharMeasure', function () { | ||
var dom; | ||
var window; | ||
@@ -12,11 +13,9 @@ var document; | ||
var charMeasure; | ||
beforeEach(function (done) { | ||
jsdom.env('', function (err, w) { | ||
window = w; | ||
document = window.document; | ||
container = document.createElement('div'); | ||
document.body.appendChild(container); | ||
charMeasure = new CharMeasure_1.CharMeasure(document, container); | ||
done(); | ||
}); | ||
beforeEach(function () { | ||
dom = new jsdom.JSDOM(''); | ||
window = dom.window; | ||
document = window.document; | ||
container = document.createElement('div'); | ||
document.body.appendChild(container); | ||
charMeasure = new CharMeasure_1.CharMeasure(document, container); | ||
}); | ||
@@ -23,0 +22,0 @@ describe('measure', function () { |
{ | ||
"name": "xterm", | ||
"description": "Full xterm terminal, in your browser", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"ignore": [ | ||
@@ -39,3 +39,3 @@ "demo", | ||
"@types/chai": "^3.4.34", | ||
"@types/jsdom": "^2.0.30", | ||
"@types/jsdom": "^11.0.1", | ||
"@types/mocha": "^2.2.33", | ||
@@ -58,3 +58,3 @@ "@types/node": "^6.0.41", | ||
"jsdoc": "3.4.3", | ||
"jsdom": "^9.11.0", | ||
"jsdom": "^11.1.0", | ||
"merge-stream": "^1.0.1", | ||
@@ -61,0 +61,0 @@ "node-pty": "^0.4.1", |
@@ -138,4 +138,4 @@ # [![xterm.js logo](logo.png)](https://xtermjs.org) | ||
Copyright (c) 2014-2016, SourceLair, Private Company ([www.sourcelair.com](https://www.sourcelair.com/home)) (MIT License) | ||
Copyright (c) 2014-2017, SourceLair, Private Company ([www.sourcelair.com](https://www.sourcelair.com/home)) (MIT License) | ||
Copyright (c) 2012-2013, Christopher Jeffrey (MIT License) |
@@ -59,4 +59,9 @@ /** | ||
if (this._terminal.y > this._terminal.scrollBottom) { | ||
// Insert a new line, scroll and mark as a wrapped line | ||
this._terminal.y--; | ||
this._terminal.scroll(true); | ||
} else { | ||
// The line already exists (eg. the initial viewport), mark it as a | ||
// wrapped line | ||
this._terminal.lines.get(this._terminal.y).isWrapped = true; | ||
} | ||
@@ -63,0 +68,0 @@ } else { |
@@ -20,2 +20,3 @@ /** | ||
describe('Linkifier', () => { | ||
let dom: jsdom.JSDOM; | ||
let window: Window; | ||
@@ -28,9 +29,7 @@ let document: Document; | ||
beforeEach(done => { | ||
jsdom.env('', (err, w) => { | ||
window = w; | ||
document = window.document; | ||
linkifier = new TestLinkifier(); | ||
done(); | ||
}); | ||
beforeEach(() => { | ||
dom = new jsdom.JSDOM(''); | ||
window = dom.window; | ||
document = window.document; | ||
linkifier = new TestLinkifier(); | ||
}); | ||
@@ -37,0 +36,0 @@ |
@@ -34,2 +34,3 @@ /** | ||
describe('SelectionManager', () => { | ||
let dom: jsdom.JSDOM; | ||
let window: Window; | ||
@@ -43,11 +44,9 @@ let document: Document; | ||
beforeEach(done => { | ||
jsdom.env('', (err, w) => { | ||
window = w; | ||
document = window.document; | ||
buffer = new CircularList<any>(100); | ||
terminal = <any>{ cols: 80, rows: 2 }; | ||
selectionManager = new TestSelectionManager(terminal, buffer, rowContainer, null); | ||
done(); | ||
}); | ||
beforeEach(() => { | ||
dom = new jsdom.JSDOM(''); | ||
window = dom.window; | ||
document = window.document; | ||
buffer = new CircularList<any>(100); | ||
terminal = <any>{ cols: 80, rows: 2 }; | ||
selectionManager = new TestSelectionManager(terminal, buffer, rowContainer, null); | ||
}); | ||
@@ -54,0 +53,0 @@ |
@@ -10,17 +10,15 @@ /** | ||
describe('CharMeasure', () => { | ||
let dom: jsdom.JSDOM; | ||
let window: Window; | ||
let document: Document; | ||
let container: HTMLElement; | ||
let charMeasure: ICharMeasure; | ||
beforeEach(done => { | ||
jsdom.env('', (err, w) => { | ||
window = w; | ||
document = window.document; | ||
container = document.createElement('div'); | ||
document.body.appendChild(container); | ||
charMeasure = new CharMeasure(document, container); | ||
done(); | ||
}); | ||
beforeEach(() => { | ||
dom = new jsdom.JSDOM(''); | ||
window = dom.window; | ||
document = window.document; | ||
container = document.createElement('div'); | ||
document.body.appendChild(container); | ||
charMeasure = new CharMeasure(document, container); | ||
}); | ||
@@ -27,0 +25,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1543820
337582
27955