Merge pull request #975 from Salandora/terminalFix

Fixed a missing self.buffer()
This commit is contained in:
Gina Häußge 2015-07-20 09:24:45 +02:00
commit d1a9044981

View file

@ -86,7 +86,7 @@ $(function() {
self._processCurrentLogData = function(data) {
self.log(self.log().concat(_.map(data, function(line) { return self._toInternalFormat(line) })));
if (self.autoscrollEnabled()) {
self.log(self.log.slice(-300));
self.log(self.log.slice(-self.buffer()));
}
};