aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/sources
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2018-12-02 11:05:01 +1200
committerDevine Lu Linvega <[email protected]>2018-12-02 11:05:01 +1200
commitad9873a44481e70652eeddd9f6338f60a6925345 (patch)
tree77e68191a253f7646372996007a4d95b11bdd980 /desktop/sources
parentb3b730859fa7b1d0000b4538d6d0cdca29529fce (diff)
downloadOrca-ad9873a44481e70652eeddd9f6338f60a6925345.tar.gz
Orca-ad9873a44481e70652eeddd9f6338f60a6925345.zip
*
Diffstat (limited to 'desktop/sources')
-rw-r--r--desktop/sources/index.html3
-rw-r--r--desktop/sources/scripts/terminal.js4
2 files changed, 1 insertions, 6 deletions
diff --git a/desktop/sources/index.html b/desktop/sources/index.html
index 1f0192f..3b7411a 100644
--- a/desktop/sources/index.html
+++ b/desktop/sources/index.html
@@ -47,6 +47,7 @@
terminal.controller.add("default","Edit","Paste Selection",() => { terminal.cursor.paste(); },"CmdOrCtrl+V")
terminal.controller.add("default","Edit","Undo",() => { terminal.history.undo(); },"CmdOrCtrl+Z")
terminal.controller.add("default","Edit","Redo",() => { terminal.history.redo(); },"CmdOrCtrl+Shift+Z")
+ terminal.controller.add("default","Edit","Crop Selection",() => { terminal.crop(); },"CmdOrCtrl+K")
terminal.controller.add("default","Program","Play/Pause",() => { terminal.pause(); },"Space")
terminal.controller.add("default","Program","Incr. Speed",() => { terminal.modSpeed(1); },">")
@@ -56,8 +57,6 @@
terminal.controller.add("default","Program","Incr. Row",() => { terminal.modGrid(0,1); },"}")
terminal.controller.add("default","Program","Decr. Row",() => { terminal.modGrid(0,-1); },"{")
- terminal.controller.add("default","Tools","Crop to Selection",() => { terminal.crop(); },"CmdOrCtrl+K")
-
terminal.controller.add("default","Theme","Default Theme",() => { terminal.theme.noir(); },"CmdOrCtrl+Shift+1")
terminal.controller.add("default","Theme","Light Theme",() => { terminal.theme.pale(); },"CmdOrCtrl+Shift+2")
terminal.controller.add("default","Theme","Get More..",() => { require('electron').shell.openExternal('https://github.com/hundredrabbits/Themes'); })
diff --git a/desktop/sources/scripts/terminal.js b/desktop/sources/scripts/terminal.js
index 51c26dd..054cebb 100644
--- a/desktop/sources/scripts/terminal.js
+++ b/desktop/sources/scripts/terminal.js
@@ -101,10 +101,6 @@ function Terminal (orca, tile = { w: 20, h: 30 }) {
this.update()
}
- this.modSize = function (w = 0, h = 0) {
-
- }
-
//
this.isCursor = function (x, y) {