Remove rowContainer and children, disable Linkifier

This commit is contained in:
Daniel Imms
2017-09-02 13:26:05 -07:00
parent 66d41feab6
commit 24a98f2fa8
8 changed files with 57 additions and 123 deletions
-12
View File
@@ -55,18 +55,6 @@ describe('Viewport', () => {
});
describe('refresh', () => {
it('should set the line-height of the terminal', done => {
// Allow CharMeasure to be initialized
setTimeout(() => {
assert.equal(viewportElement.style.lineHeight, CHARACTER_HEIGHT + 'px');
assert.equal(terminal.rowContainer.style.lineHeight, CHARACTER_HEIGHT + 'px');
charMeasure.height = 1;
viewport.refresh();
assert.equal(viewportElement.style.lineHeight, '1px');
assert.equal(terminal.rowContainer.style.lineHeight, '1px');
done();
}, 0);
});
it('should set the height of the viewport when the line-height changed', () => {
terminal.buffer.lines.push('');
terminal.buffer.lines.push('');