mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 04:58:24 +02:00
* Lots of code cleanup
* New standard MCI codes for labels * WIP MaskEditTextView * Extra styles for EditTextView
This commit is contained in:
parent
1a1dd53ca1
commit
a96af34a20
12 changed files with 150 additions and 62 deletions
|
@ -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());
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue