tiagolr / dconsole

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

Optionally add ';' before hscript evaluation #36

Closed tiagolr closed 10 years ago

tiagolr commented 10 years ago

Currently every evaluated string is added ';' at the end, use it only when there is no comma already. eg

if (StringTools.endsWith(StringTools.trim(input), ";") == false) {
 input = StringTools.trim(input) + ";";
}