I am using the Blessed library to make a control panel in a terminal.
I write things to the log widget and want the widget to scroll. With the code below, a scroll bar appears, but I cannot scroll it using the mouse wheel or dragging the scroll bar.
var logPanel = blessed.log({ top: '0', left: '0', width: '60%', height: '100%', tags: true, border: { type: 'line' }, scrollable: true, alwaysScroll: true, scrollbar: { ch: ' ', inverse: true }, style: { fg: 'green', bg: 'black', border: { fg: '#f0f0f0' } } });
How can I make the scroll work?
source share