Spaced out comments more

This commit is contained in:
neauoire
2020-03-06 17:54:53 +09:00
parent a3122d6bd8
commit dc60122de6
2 changed files with 18 additions and 0 deletions

View File

@@ -96,6 +96,9 @@ function Commander (client) {
i += indent.length
}
}
// Space out comments
val = val.split('\n').map((line) => { return line.substr(0, 2) === '; ' ? `\n${line}\n` : line }).join('\n')
this._input.value = val.trim()
}