diff options
Diffstat (limited to 'desktop/sources/scripts/cursor.js')
-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 } |