aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/sources
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2018-12-03 19:06:52 +1200
committerDevine Lu Linvega <[email protected]>2018-12-03 19:06:52 +1200
commitd57499e46ab058852534e62ff702985fe7ff19d7 (patch)
tree50c9b3e64e0321f445632f2412bd7a09aa68e172 /desktop/sources
parented53c00ea21238771bd73370c9f6c4cf64a00124 (diff)
downloadOrca-d57499e46ab058852534e62ff702985fe7ff19d7.tar.gz
Orca-d57499e46ab058852534e62ff702985fe7ff19d7.zip
Fixed issue with cursor
Diffstat (limited to 'desktop/sources')
-rw-r--r--desktop/sources/scripts/terminal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/sources/scripts/terminal.js b/desktop/sources/scripts/terminal.js
index d919f0a..d432e41 100644
--- a/desktop/sources/scripts/terminal.js
+++ b/desktop/sources/scripts/terminal.js
@@ -226,7 +226,7 @@ function Terminal (orca, tile = { w: 20, h: 30 }) {
} else {
ctx.fillStyle = this.theme.active.f_low
}
- ctx.fillText(styles.isCursor && g === '.' ? (!this.isPaused ? '@' : '~') : g, (x + 0.5) * tile.w, (y + 1) * tile.h)
+ ctx.fillText(styles.isCursor && (g === '.' || g === '+') ? (!this.isPaused ? '@' : '~') : g, (x + 0.5) * tile.w, (y + 1) * tile.h)
}
this.write = function (text, offsetX, offsetY, limit) {