neo-blessed
neo-blessed copied to clipboard
using bigtext gives crash
blessed crashes when I set a content
to bigtext
with
TypeError: Cannot set properties of undefined (setting '0')
Runs:
let box = new blessed.bigtext({
top: (i/number).toString() + '%',
left: (j/number2).toString() + '%',
width: (1/number2).toString() + '%',
height: (1/number).toString() + '%'
});
Also runs:
let box = new blessed.box({
top: (i/number).toString() + '%',
left: (j/number2).toString() + '%',
width: (1/number2).toString() + '%',
height: (1/number).toString() + '%',
content: 'X'
});
Doesn't run:
let box = new blessed.bigtext({
top: (i/number).toString() + '%',
left: (j/number2).toString() + '%',
width: (1/number2).toString() + '%',
height: (1/number).toString() + '%',
content: 'X'
});