Implemented control + c functionality to stop running cmds such as hack() and analyze()

This commit is contained in:
Daniel Xie
2016-12-21 10:33:00 -06:00
parent fc3d52b832
commit d656ee3114
7 changed files with 125 additions and 107 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
* Script object
*/
//Define commands in script editor (ctrl x to close, etc.)
//Define key commands in script editor (ctrl x to close, etc.)
$(document).keydown(function(e) {
if (Engine.currentPage == Engine.Page.ScriptEditor) {
//Ctrl + x