diff options
author | neauoire <[email protected]> | 2019-11-07 11:17:55 -0500 |
---|---|---|
committer | neauoire <[email protected]> | 2019-11-07 11:17:55 -0500 |
commit | 74ee34da73787dc0577948cbab2d9302666f8b03 (patch) | |
tree | 4fad3b248207440917546ac597214efaded9a9c6 | |
parent | 1c51f166014302d25968f909c8ef51d84c26554a (diff) | |
download | Orca-74ee34da73787dc0577948cbab2d9302666f8b03.tar.gz Orca-74ee34da73787dc0577948cbab2d9302666f8b03.zip |
*
-rw-r--r-- | desktop/sources/scripts/commander.js | 2 |
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) } |