Quest 6 - CLEAR command

commands.push(new Cmd('MetaClear', {
  regex:/^clear$/,
  script:function() {
	  $("#output").children().remove()
	  return;
  },
}));

I found a clearScreen() function in the existing code, but it didn't clear the screen until the next turn, unless I called io.outputFromQueue(), which I deemed a bad idea.


Is this something that people actually use? If there is reason to think they do, I would be happy to add it.

I found a clearScreen() function in the existing code, but it didn't clear the screen until the next turn, unless I called io.outputFromQueue(), which I deemed a bad idea.

That is a bug that will get resolved by the end of the day (i.e., next time I upload).


Log in to post a reply.

Support

Forums