Skip to content
Snippets Groups Projects
Commit ec2df292 authored by echicken's avatar echicken
Browse files

Don't prevent redraw of last line of content.

parent 8c263d49
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment