diff --git a/example/ansi-viewer/index.js b/example/ansi-viewer/index.js index 3625eb0..ea81584 100644 --- a/example/ansi-viewer/index.js +++ b/example/ansi-viewer/index.js @@ -195,6 +195,11 @@ list.on('select', function(el, selected) { }); }); +list.items.forEach(function(item, i) { + var text = item.getText(); + item.setHover(map[text]); +}); + list.focus(); list.enterSelected(0);