Skip to content
Snippets Groups Projects
Commit 4f75f1c6 authored by deuce's avatar deuce
Browse files

Fix clear to end of line.

parent b3eac84d
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ Screen.prototype.print=function(str) {
param_defaults(p, [0]);
switch(p[0]) {
case 0: // Erase to eol
for (x = this.pos.x; x<this.pos.width; x += 1) {
for (x = this.pos.x; x<this.graphic.width; x += 1) {
this.graphic.setCell(this.graphic.ch, this.attr.value, x, this.pos.y);
}
if (this.touched !== undefined) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment