mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 09:26:49 +00:00
ansi-viewer: hover text.
This commit is contained in:
parent
023e6be4e5
commit
b7cf7d08f6
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user