-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQUEST] revert f26d4ea4 for putting tmux into background again #5177
Comments
The other solution might be to create a standalone |
Reverting sounds fine. If we had never added the backgrounding behavior, I'd have doubts about adding it because users can always copy Out of curiosity, with |
I cannot either 😅. I use popups as disposable windows. For persistent actions like a floating terminal or keeping a lazygit process open, I actually wrote a script to create and automatically attach another tmux session on a popup display. https://github.com/Yukaii/dotfiles/tree/macos-m3/bin#tmux-popup Demo 311580080-d901b69d-81b1-4379-937a-66c007f525ca.mp4 |
Is there a use case where one wants to be notified once the popup is closed? |
something like
I guess that's a rare use case, especially given we can't pass |
Maybe a non-windowing command like |
looking closer at Since we'll already want popup-specific code we can add backgrounding logic for that case only? |
Feature
I actually found running tmux in the background useful when using tools like kks along with tmux popup.
Unlike the description in commit f26d4ea about
split-window
,tmux display-popup
is a long-running process and needs to be put into the background.People using kakoune with tmux-popup like me can define an old overwrite command for tmux-terminal-impl:
https://github.com/Yukaii/dotfiles/blob/8ec32679c4c154b45b048bc7fca02e38cc5d1ba3/kakoune/.config/kak/tmux.kak#L36-L59
I have defined a custom tmux command called tmux-popup as follows:
2024-05-14.10.53.09.mp4
Spent some time to get my kks setup working again after this release. 😂
Usecase
tmux display-popup
The text was updated successfully, but these errors were encountered: