Skip to content

Tab search from wt.exe? #18935

@SPgreg

Description

@SPgreg

Hi,

I'm unsure if this is available and if it is, seems documentation might be lacking, though I get the idea of leaving out documented features.

I'm trying to show a list of tabs in the terminal, so I'd like to be able to do something like wt -l tabs and it give me a list of tabs with perhaps some of the details of the tab, such as Profile and title and such.

In my use case, I'm running a script which opens up other tabs and runs a simple ssh command in those tabs. The reason I'm using my own setup and not some SSH client that already exists is that I have a lot of customization I want to match the network I'm tying into and it's an absolute nightmare to setup even an existing putty instance without significant modification.

So, what I'm hoping for is a way to list the open tabs and if there's already an existing tab, just change the focus to match that tab, rather than opening a new one, unless I want to.

Anyway, please let me know if this exists and if not, know of how I can generate a list?

Ohh, btw, this got me thinking. Could it be possible to add a "send after start" and "send before end script" in the Profiles?
Basically something that will be sent to the new tab/pane/whatever after initialization and before it exits... tangent.

Thanks,
Greg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Commandlinewt.exe's commandline argumentsArea-RemotingCommunication layer between windows. Often for windowing behavior, quake mode, etc.Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Priority-3A description (P3)Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions