Skip to content
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

Fallback to last visited session after deletion #112

Open
omerxx opened this issue May 30, 2024 · 4 comments
Open

Fallback to last visited session after deletion #112

omerxx opened this issue May 30, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@omerxx
Copy link
Owner

omerxx commented May 30, 2024

Suggested by @joshmedeski!

Technically, it may be worth exploring only if removing the current attached session to -

  1. switch client to the last visited session
  2. then run kill-session
@joshmedeski
Copy link

See tmux/tmux#3343

@omerxx omerxx self-assigned this May 31, 2024
@omerxx omerxx added the enhancement New feature or request label May 31, 2024
@omerxx
Copy link
Owner Author

omerxx commented May 31, 2024

@joshmedeski I'm not actually sure what up with Tmux, but it doesn't seem to go back to the last visited session when destroying a currently attached session with detach-on-destroy off regardless of sessionx... I'm still trying to figure out whether I'm missing something or I'm on to an actual bug

@joshmedeski
Copy link

I think it's a bug. It seems to randomly pick a session with that feature. I've never found a pattern that makes sense.

Part of me wants to take a stab at C programming and try and fix it!

@omerxx
Copy link
Owner Author

omerxx commented May 31, 2024

I think it's a bug. It seems to randomly pick a session with that feature. I've never found a pattern that makes sense.

Part of me wants to take a stab at C programming and try and fix it!

Happy to hear it's not only me...
I think I'd defer to another line of bash in this case and maybe an issue if there isn't one already 😂

Definitely supporting your from the sidelines though 😅👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants