Closed Iron-E closed 5 months ago
Not enough time to review & test but go ahead when you think it's ready.
What is your opinion on caching layout
changes to make buffer dragging faster? It'd be easy to revert that part of this PR if you think it should be.
Pros:
layout.buffers
and other results (previously only one result was cached, now every result is)Cons:
calculate
(it's a very impure function now)I think simplicity first, and only do the performance optimization if it's required.
Closes #261
The feature is automatically enabled when
clickable = true
duringsetup
.Todo:
check(it was)on_key
isn't required