Fixed small issue with loading a .rin file

This commit is contained in:
Devine Lu Linvega 2017-04-05 11:09:29 -10:00
parent 27b75ba5cf
commit 253795858f
3 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,3 @@
frame.select what ; frame.select main ;
frame.resize 400x400 ; frame.resize 400x400 ;
brush:color #ff00ff ; brush:color #ff00ff ;

View File

@ -43,6 +43,7 @@ function Module(rune)
{ {
this.settings[name] = value.content.join(" "); this.settings[name] = value.content.join(" ");
ronin.terminal.log(new Log(this,"Updated setting: "+name+", to "+this.settings[name])); ronin.terminal.log(new Log(this,"Updated setting: "+name+", to "+this.settings[name]));
ronin.frame.update_widget();
} }
this.add_method = function(method) this.add_method = function(method)

View File

@ -90,9 +90,10 @@ function Terminal(rune)
{ {
if(!ronin.terminal.queue[0]){ console.log("Finished queue"); return; } if(!ronin.terminal.queue[0]){ console.log("Finished queue"); return; }
console.info(ronin.terminal.queue[0].trim()); var entry = ronin.terminal.queue.shift();
active(ronin.terminal.queue[0].trim()); console.info(entry);
ronin.terminal.queue.shift(); active(entry);
// ronin.terminal.queue.shift();
setTimeout(function(){ ronin.terminal.run(); }, 100); setTimeout(function(){ ronin.terminal.run(); }, 100);
} }