diff options
author | Devine Lu Linvega <[email protected]> | 2018-12-03 19:06:52 +1200 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2018-12-03 19:06:52 +1200 |
commit | d57499e46ab058852534e62ff702985fe7ff19d7 (patch) | |
tree | 50c9b3e64e0321f445632f2412bd7a09aa68e172 /desktop/sources | |
parent | ed53c00ea21238771bd73370c9f6c4cf64a00124 (diff) | |
download | Orca-d57499e46ab058852534e62ff702985fe7ff19d7.tar.gz Orca-d57499e46ab058852534e62ff702985fe7ff19d7.zip |
Fixed issue with cursor
Diffstat (limited to 'desktop/sources')
-rw-r--r-- | desktop/sources/scripts/terminal.js | 2 |
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) { |