Fixed style of status

This commit is contained in:
Devine Lu Linvega
2019-07-24 11:05:43 +09:00
parent d78a610d80
commit 4e4a25f3a6
5 changed files with 13 additions and 9 deletions

View File

@@ -76,7 +76,7 @@ function Commander (ronin) {
// console.log(msg)
}
// Source
const _source = `${ronin.source} ${this._input.value.split('\n').length} lines`
const _source = `${ronin.source}[${this._input.value.split('\n').length}]`
if (_source !== this._source.textContent) {
this._source.textContent = _source
}

View File

@@ -138,7 +138,7 @@ function Source (ronin) {
}
this.toString = function () {
return this.path ? this.name() + '.lisp' : 'unsaved'
return this.path ? this.name() + '.lisp' : '*new'
}
function isDifferent (a, b) {