aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/sources/scripts/commander.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js
index 6e6aa6b..a6fe83c 100644
--- a/desktop/sources/scripts/commander.js
+++ b/desktop/sources/scripts/commander.js
@@ -62,7 +62,10 @@ function Commander (client) {
client.orca.writeBlock(origin ? origin.x : client.cursor.x, origin ? origin.y : client.cursor.y, block)
client.cursor.scaleTo(0, 0)
},
- write: (p) => { client.cursor.select(p._x, p._y, p._str.length); client.orca.writeBlock(p._str) }
+ write: (p) => {
+ client.cursor.select(p._x, p._y, p._str.length)
+ client.orca.writeBlock(p._x, p._y, p._str)
+ }
}
// Make shorthands