One-line status bar for app state and hints.
import { StatusBar } from 'nikcli-tui';
new StatusBar({ parent: screen, content: 'Ready' });
npm run tsx:core-gallery
{ text: string; color?: string; icon?: string; clickable?: boolean; onClick?: () => void }
|
npm i nikcli-tui
new StatusBar({ parent: screen, bottom: 0, left: 0, right: 0, items: [ { text: 'Ready' }, { text: 'q: quit', color: 'gray' } ] });
new StatusBar({ parent: screen, bottom: 0, left: 0, right: 0, showIcons: true, items: [ { text: '⚙ Settings', clickable: true, onClick: () => console.log('settings') } ] });