Multi-line text block with wrapping.
import { Paragraph } from 'nikcli-tui';
new Paragraph({ parent: screen, text: 'Paragraph content' });
npm run tsx:core-gallery
npm i nikcli-tui
new Paragraph({ parent: screen, top: 1, left: 2, text: 'Multiline text', align: 'left', lineSpacing: 1 });
new Paragraph({ parent: screen, top: 1, left: 2, width: 40, text: 'Centered', align: 'center' });