diff options
author | Devine Lu Linvega <[email protected]> | 2018-12-11 13:41:43 +1200 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2018-12-11 13:41:43 +1200 |
commit | e94708fc3f1d44192e2bdb0d7ef5ab6dc68b0e52 (patch) | |
tree | eee8b83aeb05693693d3162ff8ea091fd5d7c1f4 | |
parent | 4656e1209494c51b377715a709f63b5a21c8e930 (diff) | |
download | Orca-e94708fc3f1d44192e2bdb0d7ef5ab6dc68b0e52.tar.gz Orca-e94708fc3f1d44192e2bdb0d7ef5ab6dc68b0e52.zip |
Fixed issue with keys mode
-rw-r--r-- | desktop/sources/scripts/cursor.js | 2 | ||||
-rw-r--r-- | examples/_keys.orca | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/sources/scripts/cursor.js b/desktop/sources/scripts/cursor.js index d5d2d21..cb11a4c 100644 --- a/desktop/sources/scripts/cursor.js +++ b/desktop/sources/scripts/cursor.js @@ -49,7 +49,7 @@ function Cursor (orca, terminal) { } this.write = function (g) { - if (this.node === 2) { + if (this.mode === 2) { terminal.io.sendKey(event.key) return } diff --git a/examples/_keys.orca b/examples/_keys.orca index 568b28a..f184b23 100644 --- a/examples/_keys.orca +++ b/examples/_keys.orca @@ -5,7 +5,7 @@ .#.PRESS.a.b.OR.c.#...................... ......................................... ......................................... -........!a......!a......!a............... +........!a......!b......!c............... ......................................... ......................................... ......................................... |