tiagolr / dconsole

Haxe game-like console that provides runtime acess to methods, variables and more.
MIT License
169 stars 16 forks source link

Splash suppression #48

Open Type1J opened 9 years ago

Type1J commented 9 years ago

An argument should be added to DC.init() (maybe "splash:Bool = true" to default to true) that determines whether the following line is executed at the end of init:

DC.logInfo("~~~~~~~~~~ DCONSOLE ~~~~~~~~~~ (v" + VERSION + ")");
tiagolr commented 9 years ago

Ok, one thing i do to remove the splash is to call DC.clear() right after the console init, but i think that option should be available too.

Another is that that flag will be at the end of the init method so it does not break previous compatibility.