* Lots of code cleanup

* New standard MCI codes for labels
* WIP MaskEditTextView
* Extra styles for EditTextView
This commit is contained in:
Bryan Ashby 2015-05-14 23:01:00 -06:00
parent 1a1dd53ca1
commit a96af34a20
12 changed files with 150 additions and 62 deletions

View file

@ -23,7 +23,8 @@ function EditTextView(options) {
this.cursorPos = { x : 0 };
this.clientBackspace = function() {
this.client.term.write('\b' + this.getSGR() + this.fillChar + '\b' + this.getFocusSGR());
var fillCharSGR = this.getStyleSGR(1) || this.getSGR();
this.client.term.write('\b' + fillCharSGR + this.fillChar + '\b' + this.getFocusSGR());
};
}