mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 10:45:56 +02:00
* Lots of WIP on FSE demo
* WIP emit position from MutliLineEditTextView * ansi.rawWrite() when no iconv/lfs to be processed
This commit is contained in:
parent
60cae7de3d
commit
3d5d21bcb5
17 changed files with 223 additions and 80 deletions
|
@ -54,13 +54,12 @@ function VerticalMenuView(options) {
|
|||
return;
|
||||
}
|
||||
|
||||
self.client.term.write(ansi.goto(item.row, self.position.col));
|
||||
self.client.term.write(index === self.focusedItemIndex ? self.getFocusSGR() : self.getSGR());
|
||||
|
||||
var text = strUtil.stylizeString(item.text, item.focused ? self.focusTextStyle : self.textStyle);
|
||||
|
||||
self.client.term.write(
|
||||
strUtil.pad(text, this.dimens.width, this.fillChar, this.justify));
|
||||
ansi.goto(item.row, self.position.col) +
|
||||
(index === self.focusedItemIndex ? self.getFocusSGR() : self.getSGR()) +
|
||||
strUtil.pad(text, this.dimens.width, this.fillChar, this.justify)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue