diff options
author | Devine Lu Linvega <[email protected]> | 2019-04-13 13:54:32 +0900 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2019-04-13 13:54:32 +0900 |
commit | ae7cace056ee65909665305d5173643757e84445 (patch) | |
tree | 901795f22fe1d2b0658d78a05622978e90e4b9bb | |
parent | cd70941d94136d0108d65d3173226061ceb5f684 (diff) | |
download | Orca-ae7cace056ee65909665305d5173643757e84445.tar.gz Orca-ae7cace056ee65909665305d5173643757e84445.zip |
Fixes #76
-rw-r--r-- | desktop/sources/scripts/cursor.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/sources/scripts/cursor.js b/desktop/sources/scripts/cursor.js index 5534da9..9a5e39d 100644 --- a/desktop/sources/scripts/cursor.js +++ b/desktop/sources/scripts/cursor.js @@ -88,7 +88,9 @@ function Cursor (terminal) { const i = terminal.orca.s.indexOf(str) if (i < 0) { return } const pos = terminal.orca.posAt(i) - this.x = pos.x + 1 + this.w = str.length + this.h = 1 + this.x = pos.x this.y = pos.y } |