From 1ce52405b6e802eeb4e7a3eb8cca3b816131f17d Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 25 Nov 2015 16:41:09 +0800 Subject: [PATCH] update files --- static/js/terminal/lib/write.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/terminal/lib/write.js b/static/js/terminal/lib/write.js index 03fd78a..83e37ff 100644 --- a/static/js/terminal/lib/write.js +++ b/static/js/terminal/lib/write.js @@ -50,6 +50,7 @@ module.exports = function (Terminal){ if (this.ybase !== this.ydisp) { this.ydisp = this.ybase; + this.maxRange(); } @@ -76,6 +77,7 @@ module.exports = function (Terminal){ if (this.y > this.scrollBottom) { this.y--; + this.scroll(); } break;