WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

type 'ctrl+d' will disconnect all the ssh sessions duplicated

Open vzex opened this issue 3 years ago • 7 comments

Version: v2.4.0 Prerelease 1

vzex avatar Mar 30 '22 04:03 vzex

Sorry for the late reply.

This may not be a bug. When you press the Ctrl+D key, the session is closed, and since all duplicated channels belong to this session, they are also closed. But I haven't verified it in other SSH clients, if you have other SSH clients, you can try it too.

kingToolbox avatar Apr 01 '22 19:04 kingToolbox

I also use tabby, and duplicate session is a very common operation, and the duplicated session is an independent session, they share the same config, but have no relationship

vzex avatar Apr 02 '22 07:04 vzex

Sorry for the late reply.

The independent duplicated session requires a new login and is slower than duplicate the channel, so many users need ControlMaster. Before implementing ControlMaster, WindTerm was also duplicating the independent sessions. :smile:

An option will be added in the next release that will allow you whether to use the ControlMaster feature when duplicating the session, or to duplicate a completely independent session. Please stay tuned, thank you.

kingToolbox avatar Apr 18 '22 13:04 kingToolbox

Sorry for the late reply.

The independent duplicated session requires a new login and is slower than duplicate the channel, so many users need ControlMaster. Before implementing ControlMaster, WindTerm was also duplicating the independent sessions. 😄

An option will be added in the next release that will allow you whether to use the ControlMaster feature when duplicating the session, or to duplicate a completely independent session. Please stay tuned, thank you.

Got, thanks~

vzex avatar Apr 18 '22 15:04 vzex

This issue has been fixed in the WindTerm_2.5.0 version. In this version, new Duplicate Session has been added to duplicate independent sessions, and the original Duplicate Session has been modified to Duplicate SSH Channel to make it more clear. Please download and try it, thank you.

kingToolbox avatar Aug 22 '22 22:08 kingToolbox

WindTerm_2.7.0_Prerelease_3 has completely resolved this issue. Disconnecting a duplicated channel will no longer cause other channels in that session to close. Please download and try it. Thank you.

kingToolbox avatar Feb 11 '25 05:02 kingToolbox

Some time it work. If you avoid the main tab perfectly.

https://github.com/user-attachments/assets/f351ef76-153d-4db7-a4a2-8b677a77f972

test on ArchLinux with windterm-bin package, version 2.7.0-1.

BoringCat avatar May 23 '25 15:05 BoringCat