upon render, blessed (in list.js setItems method) attempts to relocate an item by its content, by using indexOf - the assumption being that every item in a list is unique. If this isn't the case the first duplicate is selected. This is why we need a queue that we process after other keys (in particular after the 'items' key)
upon render, blessed (in list.js setItems method) attempts to relocate an item by its content, by using
indexOf
- the assumption being that every item in a list is unique. If this isn't the case the first duplicate is selected. This is why we need a queue that we process after other keys (in particular after the 'items' key)