Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As `on_choice()` actions depend on modifying terminal objects in place, make sure to operate on exact element and not a copy. As users can override `vim.ui.select()`, its implementation might return an item's copy (which is not explicitly prohibited) making later `on_choice()` actions not 100% full proof.
- Loading branch information