From ec2df29296f39c73739c55b7b46a9b72e0a4ebe3 Mon Sep 17 00:00:00 2001 From: echicken <> Date: Sun, 13 Oct 2019 05:14:13 +0000 Subject: [PATCH] Don't prevent redraw of last line of content. --- exec/load/scrollbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/load/scrollbox.js b/exec/load/scrollbox.js index 27464aa560..a2b5345e65 100644 --- a/exec/load/scrollbox.js +++ b/exec/load/scrollbox.js @@ -116,7 +116,7 @@ ScrollBox.prototype.scroll_into_view = function (n) { } ScrollBox.prototype._redraw = function (n) { - if (this.wrap_map[n].index < this.y || this.wrap_map[n].index >= this.y + this.height) return; + if (this.wrap_map[n].index < this.y || this.wrap_map[n].index > this.y + this.height) return; for (var i = 0; i < this.wrap_map[n].rows; i++) { console.gotoxy(1, this.y1 + this.wrap_map[n].index - this.y + i); console.clearline(); -- GitLab