I'm using the Blessed library to make a dashboard in the terminal.
I'm logging things into a log widget, and would like to make the widget scrollable. With the below code, the scrollbar is appearing, but I can't actually scroll using my mouse wheel, or by 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 get the scroll working?