mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-16 06:24:00 +02:00
Default renderLen array
This commit is contained in:
parent
70b5d7a124
commit
3d575f7645
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ function wordWrapText(text, options) {
|
||||||
let renderLen;
|
let renderLen;
|
||||||
let i = 0;
|
let i = 0;
|
||||||
let wordStart = 0;
|
let wordStart = 0;
|
||||||
let result = { wrapped : [ '' ], renderLen : [] };
|
let result = { wrapped : [ '' ], renderLen : [ 0 ] };
|
||||||
|
|
||||||
function expandTab(column) {
|
function expandTab(column) {
|
||||||
const remainWidth = options.tabWidth - (column % options.tabWidth);
|
const remainWidth = options.tabWidth - (column % options.tabWidth);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue