Scrollable container for large text content.
import { Scrollable } from 'nikcli-tui';
new Scrollable({ parent: screen, blessedProps: { content: '...' } as any });
npm run tsx:core-gallery
{ scrollbar?: { ch?, style? }, track?: { bg?, ch?, style? } }
npm i nikcli-tui
new Scrollable({ parent: screen, top: 1, left: 2, width: 60, height: 10, content: 'Long text...\n...more' });
const sc = new Scrollable({ parent: screen, top: 1, left: 2, width: 60, height: 10 }); sc.appendContent('Line 1\n'); sc.scrollToBottom();