update files

This commit is contained in:
nuintun 2015-11-27 09:36:57 +08:00
parent 4e16de9f77
commit 07eb2b8b48
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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

View File

@ -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;
}