c-cube / printbox

print nested boxes, lists, arrays, tables in several formats
https://c-cube.github.io/printbox/
BSD 2-Clause "Simplified" License
77 stars 10 forks source link

PrintBox.ml: shouldn't Text store a list of non-breakable lines? #36

Closed lukstafi closed 8 months ago

lukstafi commented 8 months ago

Currently PrintBox_text does not assume that and splits each of the lines. But we have PrintBox.line and PrintBox.lines. The former validates the input, the latter does not. So that would also need changing maybe.