aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorneauoire <[email protected]>2019-11-07 11:17:55 -0500
committerneauoire <[email protected]>2019-11-07 11:17:55 -0500
commit74ee34da73787dc0577948cbab2d9302666f8b03 (patch)
tree4fad3b248207440917546ac597214efaded9a9c6
parent1c51f166014302d25968f909c8ef51d84c26554a (diff)
downloadOrca-74ee34da73787dc0577948cbab2d9302666f8b03.tar.gz
Orca-74ee34da73787dc0577948cbab2d9302666f8b03.zip
*
-rw-r--r--desktop/sources/scripts/commander.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js
index f9974ba..f227aa4 100644
--- a/desktop/sources/scripts/commander.js
+++ b/desktop/sources/scripts/commander.js
@@ -15,7 +15,7 @@ function Commander (terminal) {
terminal.cursor.select(p._x, p._y)
if (terminal.source.cache[p._str + '.orca']) {
const lines = terminal.source.cache[p._str + '.orca'].trim().split('\n')
- terminal.cursor.resize(lines[0].length, lines.length)
+ terminal.cursor.resize(lines[0].length - 1, lines.length - 1)
}
},
write: (p) => { terminal.cursor.select(p._x, p._y, p._str.length) }