laktak / extrakto

extrakto for tmux - quickly select, copy/insert/complete text without a mouse
MIT License
878 stars 45 forks source link

Fetch content prior to opening split #46

Closed laur89 closed 3 years ago

laur89 commented 3 years ago

As-is: Upon launching extrakto (prefix+Tab), a split-pane is opened, in the bottom by default. The contents this new split is covering in the pane will be excluded from the result.

To-be: Fetch the contents into the script before opening the extrakto split, so the contents this new split covers would be included in results.

laktak commented 3 years ago

Thank you for the input. I will try to fix this when we add popups #40 once tmux 3.2 is released.

laktak commented 3 years ago

I looked at it but this is not trivial to solve because the content is gathered after we open the split and each time the user changes the grab area.

I don't think it is worth to invest time in this because tmux with popups will solve the problem. If you have the beta please give it a try.