mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 21:16:09 +02:00
* renderStringLength(): Account for ESC[<N>C "forward" ESC seq
* Use string util renderStringLength() in word wrap * Hopefully resolve all issues with renderSubstr() * Fix width issue in message list
This commit is contained in:
parent
f7c21baa52
commit
d621fa9566
4 changed files with 74 additions and 26 deletions
|
@ -291,6 +291,7 @@ function getValue(obj, path) {
|
|||
module.exports = function format(fmt, obj) {
|
||||
|
||||
const re = REGEXP_BASIC_FORMAT;
|
||||
re.lastIndex = 0; // reset from prev
|
||||
|
||||
let match;
|
||||
let pos;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue