Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a6791881c | ||
|
|
41cfe868e4 | ||
|
|
71a998de76 | ||
|
|
63b25813e7 | ||
|
|
ebb21710c5 | ||
|
|
367e23b64e | ||
|
|
322ae131a1 | ||
|
|
4f35c21355 | ||
|
|
13133d699f |
+5
-1
@@ -39,6 +39,10 @@ gulp.task('css', function() {
|
||||
return gulp.src(`${srcDir}/**/*.css`).pipe(gulp.dest(outDir));
|
||||
});
|
||||
|
||||
gulp.task('css-build', function() {
|
||||
return gulp.src(`${srcDir}/**/*.css`).pipe(gulp.dest(buildDir));
|
||||
});
|
||||
|
||||
gulp.task('watch-css', function() {
|
||||
return gulp.watch(`${srcDir}/**/*.css`, ['css']);
|
||||
});
|
||||
@@ -136,6 +140,6 @@ gulp.task('sorcery-addons', ['browserify-addons'], function () {
|
||||
})
|
||||
});
|
||||
|
||||
gulp.task('build', ['css', 'sorcery', 'sorcery-addons']);
|
||||
gulp.task('build', ['css', 'css-build', 'sorcery', 'sorcery-addons']);
|
||||
gulp.task('test', ['mocha']);
|
||||
gulp.task('default', ['build']);
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "xterm",
|
||||
"description": "Full xterm terminal, in your browser",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.4",
|
||||
"main": "lib/public/Terminal.js",
|
||||
"types": "typings/xterm.d.ts",
|
||||
"repository": "https://github.com/xtermjs/xterm.js",
|
||||
|
||||
+1
-1
@@ -1816,7 +1816,7 @@ export class InputHandler extends Disposable implements IInputHandler {
|
||||
this._terminal.applicationCursor = false;
|
||||
this._terminal.buffer.scrollTop = 0;
|
||||
this._terminal.buffer.scrollBottom = this._terminal.rows - 1;
|
||||
this._terminal.curAttrData = DEFAULT_ATTR_DATA;
|
||||
this._terminal.curAttrData = DEFAULT_ATTR_DATA.clone();
|
||||
this._terminal.buffer.x = this._terminal.buffer.y = 0; // ?
|
||||
this._terminal.charset = null;
|
||||
this._terminal.glevel = 0; // ??
|
||||
|
||||
@@ -750,7 +750,6 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II
|
||||
this.element.appendChild(fragment);
|
||||
|
||||
this._theme = this.options.theme;
|
||||
this.options.theme = null;
|
||||
this._colorManager = new ColorManager(document, this.options.allowTransparency);
|
||||
this._colorManager.setTheme(this._theme);
|
||||
|
||||
|
||||
@@ -217,7 +217,7 @@ export class AttributeData implements IAttributeData {
|
||||
}
|
||||
}
|
||||
|
||||
export const DEFAULT_ATTR_DATA = new AttributeData();
|
||||
export const DEFAULT_ATTR_DATA = Object.freeze(new AttributeData());
|
||||
|
||||
/**
|
||||
* CellData - represents a single Cell in the terminal buffer.
|
||||
|
||||
Reference in New Issue
Block a user