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

Feat #6518: add disconnect current tab hotkey and context menu item #8589

Merged
merged 4 commits into from
Jun 16, 2023

Conversation

Clem-Fern
Copy link
Contributor

Hi @Eugeny, I hope you're doing well.

I tried to add the feature asked in the issue #6518. This PR adds a hotkey disconnect-tab and a Disconnect item in the tab context menu.
I also tried to make this feature fits well with the configurable behavior on session end. Actually, disconnecting the current tab overrides the selected behavior :

  • keep -> no effect, offer reconnection
  • close & auto -> keep the tab open and offer reconnection

What is your opinion on this ? Do you think it would be more appropriate to create two distinct options if the tab behavior is close ? (Disconnect and Disconnect & keep tab open for example)

Feel free to ask if any changes are needed :)

Resolve #6518

@Eugeny
Copy link
Owner

Eugeny commented Jun 16, 2023

I agree, explicitly disconnecting a tab should keep it open! (otherwise, the user could have just closed it instead)

@Clem-Fern
Copy link
Contributor Author

Thank's for you feedback. I just made the two needed changes :D

@Eugeny Eugeny merged commit 5e67310 into Eugeny:master Jun 16, 2023
7 of 10 checks passed
@Eugeny
Copy link
Owner

Eugeny commented Jun 16, 2023

Perfect!

@Clem-Fern Clem-Fern deleted the feat#6518 branch July 5, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to disconnect current connection and keep the tab open when using telnet, serial or ssh
2 participants