How to use the Listbar function from blessed

Find comprehensive JavaScript blessed.Listbar code examples handpicked from public code repositorys.

79
80
81
82
83
84
85
86
87
88

Screen.key('1', showMethods);
Screen.key('2', showHeaders);
Screen.key('3', showBody);

var menuBar = Blessed.Listbar({
  top: 0,
  height: 3,
  width: '100%',
  keys: true,
fork icon2
star icon59
watch icon2

16
17
18
19
20
21
22
23
24
25
26
27


/* ================================================== *
 * =====================| MENU |===================== *
 * ================================================== */


let menu = blessed.Listbar({
    parent: screen,
    shrink: true,
    mouse: true,
    keys: true,
fork icon0
star icon0
watch icon0