update files

This commit is contained in:
nuintun 2015-11-25 18:38:02 +08:00
parent 1c02136627
commit ec262a50e0
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ module.exports = Vue.component('app-main', {
xterm.open();
xtermNode.appendChild(xterm.element);
xterm.write(code);
xterm.write('Terminal ready\r\n' + code);
scroll(xterm);
window.xterm = xterm;

View File

@ -54,7 +54,7 @@ module.exports = function (Terminal){
this.maxRange();
}
for (lch = ch; i < l; i++) {
for (; i < l; i++, lch = ch) {
ch = data[i];
switch (this.state) {