ansi-viewer: hover text.

This commit is contained in:
Christopher Jeffrey 2015-04-29 12:11:11 -07:00
parent 023e6be4e5
commit b7cf7d08f6
1 changed files with 5 additions and 0 deletions

View File

@ -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.focus();
list.enterSelected(0); list.enterSelected(0);