diff --git a/static/js/terminal/lib/csi/tabClear.js b/static/js/terminal/lib/csi/tabClear.js index 718abe7..2ea649b 100644 --- a/static/js/terminal/lib/csi/tabClear.js +++ b/static/js/terminal/lib/csi/tabClear.js @@ -13,7 +13,7 @@ module.exports = function (Terminal){ // http://vt100.net/annarbor/aaa-ug/section6.html Terminal.prototype.tabClear = function (params){ var param = params[0]; - + if (param <= 0) { delete this.tabs[this.x]; } else if (param === 3) { diff --git a/static/js/terminal/lib/esc/index.js b/static/js/terminal/lib/esc/index.js index f8294d6..9ab0414 100644 --- a/static/js/terminal/lib/esc/index.js +++ b/static/js/terminal/lib/esc/index.js @@ -27,7 +27,7 @@ module.exports = function (Terminal){ if (this.y < this.scrollTop) { this.y++; - + // possibly move the code below to term.reverseScroll(); // test: echo -ne '\e[1;1H\e[44m\eM\e[0m' // blankLine(true) is xterm/linux behavior diff --git a/static/js/terminal/lib/setgCharset.js b/static/js/terminal/lib/setgCharset.js index ec599ed..bcea532 100644 --- a/static/js/terminal/lib/setgCharset.js +++ b/static/js/terminal/lib/setgCharset.js @@ -12,7 +12,7 @@ module.exports = function (Terminal){ */ Terminal.prototype.setgCharset = function (g, charset){ this.charsets[g] = charset; - + if (this.glevel === g) { this.charset = charset; }