aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/sources/scripts/cursor.js
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/sources/scripts/cursor.js')
-rw-r--r--desktop/sources/scripts/cursor.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/sources/scripts/cursor.js b/desktop/sources/scripts/cursor.js
index e9bd78f..67afb47 100644
--- a/desktop/sources/scripts/cursor.js
+++ b/desktop/sources/scripts/cursor.js
@@ -43,7 +43,8 @@ function Cursor(terminal)
}
this.erase = function (g) {
- pico.remove(this.x, this.y)
+ this.terminal.log(`Erase ${this.x},${this.y}[${this.w}x${this.h}]`)
+ this.terminal.pico.removeBlock(this.x,this.y,this.w,this.h)
}
this.inspect = function () {