code: function (log) {
    var maxScrollPercent = 100;
  
    log.scroll = function (offset, always) {
      if (offset === 0) {
        return this._scroll(offset, always);
      }
      this._userScrolled = true;
      var ret = this._scroll(offset, always);
      if (this.getScrollPerc() === maxScrollPercent) {
        this._userScrolled = false;
      }
      return ret;
    };
  }
docs: reapply scroll method override from Log https://github.com/chjj/blessed/blob/master/lib/widgets/log.js#L69 which is broken by workaround in Element https://github.com/chjj/blessed/blob/master/lib/widgets/element.js#L35  this method prevents auto-scrolling to bottom if user scrolled the view up blessed v0.1.81 - https://github.com/chjj/blessed/issues/284