Attaching of externally existing terminal #15410

Closed
opened 2026-01-31 04:37:49 +00:00 by claunia · 6 comments
Owner

Originally created by @SebastianSolidwork on GitHub (Oct 1, 2021).

I want to be able to attach terminals which exist outside of WT.
Examples: log terminals from an application or terminals started through a file from the explorer

Examples of other software: ConEmu and Cmder are having such a function

Originally created by @SebastianSolidwork on GitHub (Oct 1, 2021). I want to be able to attach terminals which exist outside of WT. Examples: log terminals from an application or terminals started through a file from the explorer Examples of other software: ConEmu and Cmder are having such a function
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixProduct-Terminal labels 2026-01-31 04:37:49 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Oct 21, 2021):

From @mjcarman in #11569

I migrated to Windows Terminal from ConEmu and one feature I miss is its "Attach to" function that captures an existing console window and moves it into the terminal as a tab. It's useful for managing windows that weren't — or more importantly, can't be — opened in the terminal.

Example 1: The launcher for the LynxOS development environment opens a bash console in the appropriate working directory and runs some setup commands it. I'd like to be able to move that console into Windows Terminal. (Replicating this via a WT profile is only partially possible, and even that much required a fair bit of sleuthing around to figure out.)

Example 2: Eclipse-based GUI applications can be launched with the console visible. Being able to move that console into WT would allow me to declutter my workspace.

I don't know if setting Windows Terminal as the default console host would alleviate these use cases. It might, but that feature is only available on Windows 11. This feature should work on any OS.

Proposed technical implementation details (optional)

The context menu for the title bar should have an "attach to" (or similarly named) option that opens a dialog of existing windows that may be captured and moved into Windows Terminal.

@zadjii-msft commented on GitHub (Oct 21, 2021): _From @mjcarman in #11569_ > I migrated to Windows Terminal from ConEmu and one feature I miss is its "Attach to" function that captures an existing console window and moves it into the terminal as a tab. It's useful for managing windows that weren't — or more importantly, can't be — opened in the terminal. > > Example 1: The launcher for the LynxOS development environment opens a bash console in the appropriate working directory and runs some setup commands it. I'd like to be able to move that console into Windows Terminal. (Replicating this via a WT profile is only partially possible, and even that much required a fair bit of sleuthing around to figure out.) > > Example 2: Eclipse-based GUI applications can be launched with the console visible. Being able to move that console into WT would allow me to declutter my workspace. > > I don't know if setting Windows Terminal as the default console host would alleviate these use cases. It might, but that feature is only available on Windows 11. This feature should work on any OS. > > # Proposed technical implementation details (optional) > The context menu for the title bar should have an "attach to" (or similarly named) option that opens a dialog of existing windows that may be captured and moved into Windows Terminal.
Author
Owner

@carlos-zamora commented on GitHub (Mar 20, 2023):

Hi @SebastianSolidwork. Thanks for the feature request. We've discussed it as a team and we feel that tab tearout and default terminal are two features that are more relevant for day to day use cases. They don't necessarily fulfill all the requirements you specified, but they meet most of them.

@carlos-zamora commented on GitHub (Mar 20, 2023): Hi @SebastianSolidwork. Thanks for the feature request. We've discussed it as a team and we feel that tab tearout and default terminal are two features that are more relevant for day to day use cases. They don't necessarily fulfill all the requirements you specified, but they meet most of them.
Author
Owner

@SebastianSolidwork commented on GitHub (Mar 21, 2023):

I'm sad to read.
"they meet most of them."
Can you explain how?
Either I'm able to attach an external started console or not.

@SebastianSolidwork commented on GitHub (Mar 21, 2023): I'm sad to read. "they meet most of them." Can you explain how? Either I'm able to attach an external started console or not.
Author
Owner

@zadjii-msft commented on GitHub (Mar 21, 2023):

With the "default terminal" feature, CLI applications will boot into a Terminal window immediately, rather than a conhost window.

With tab tearout/reattach, those Terminal windows can be re-combined with other terminal windows.

Does that make sense?

@zadjii-msft commented on GitHub (Mar 21, 2023): With the "default terminal" feature, CLI applications will boot into a Terminal window immediately, rather than a conhost window. With tab tearout/reattach, those Terminal windows can be re-combined with other terminal windows. Does that make sense?
Author
Owner

@SebastianSolidwork commented on GitHub (Mar 21, 2023):

Thanks for the clarification! I did not know what default terminal meant.
I guess you are referring to this by the default terminal? https://devblogs.microsoft.com/commandline/windows-terminal-as-your-default-command-line-experience/
That would be sufficient for me.
But I have to wait until our IT rolls out Windows 11, we are still on 10.

@SebastianSolidwork commented on GitHub (Mar 21, 2023): Thanks for the clarification! I did not know what default terminal meant. I guess you are referring to this by the default terminal? https://devblogs.microsoft.com/commandline/windows-terminal-as-your-default-command-line-experience/ That would be sufficient for me. But I have to wait until our IT rolls out Windows 11, we are still on 10.
Author
Owner

@SebastianSolidwork commented on GitHub (Mar 22, 2023):

I got informed that our IT just now uninstalled all existing Windows 11 and replaced them by to Windows 10.
Therefore I will not get access to this feature soon. :-(

@SebastianSolidwork commented on GitHub (Mar 22, 2023): I got informed that our IT just now uninstalled all existing Windows 11 and replaced them by to Windows 10. Therefore I will not get access to this feature soon. :-(
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15410