smart-line
A smart fixed line with some formatting abilities
usage
const smartLine = line;
center
var line = 10;line;assert;
left
var line = 10;lineleft'xyz';assert;lineleft'abc'7;assert;
right
Please note that for legacy reasons the position is the start of the insertion
var line = 10;lineright'testing'54;assert;line;lineright'testing';assert;
insert
var line = 10;line;assert;