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

Add title to split window #4717

Open
Jspoor76 opened this issue Feb 25, 2020 · 6 comments
Open

Add title to split window #4717

Jspoor76 opened this issue Feb 25, 2020 · 6 comments
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Milestone

Comments

@Jspoor76
Copy link

Description of the new feature/enhancement

When doing split windows in a tab, there's no header per window, rather the last command given is used int he TAB header. See attached example
WindowsTerminal
Can you provide per split window a header with the command?

This is when using alt-shift-+ to open e.g. multiple Command prompts to perform pings.

Proposed technical implementation details (optional)

Add a header to split windows with the command given

@Jspoor76 Jspoor76 added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Feb 25, 2020
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 25, 2020
@zadjii-msft zadjii-msft added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels Feb 25, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Feb 25, 2020
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Feb 25, 2020
@zadjii-msft
Copy link
Member

Adding a title per-pane is definitely something people will want. I'm gonna throw this on the backlog.

We might need to clarify what should happen to the tab if there's a titlebar per-pane. Maybe display something like "4 panes"? Or still display the tab title there? THat would lead to just duplicated "cmd - ping 8.8.8.8" text, but that's probably fine. We could probably make this a per-profile setting too.

@DHowett-MSFT DHowett-MSFT removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Mar 5, 2020
@DHowett-MSFT
Copy link
Contributor

Yanking Triage on this one -- we should show something in the title (cmd (+4 others)) and above each pane, maybe?

@jetwiwo
Copy link

jetwiwo commented Feb 19, 2023

Yanking Triage on this one -- we should show something in the title (cmd (+4 others)) and above each pane, maybe?

Yes please. Sometimes I'm running 4 different build windows with similar output that I want to watch. remembering which one is which can be difficult over time. The ability to set a title and view it above each pane would help with this. The "+4 others" would be less important for me personally although I'd like the option to turn it on and off independently of the individual titles if it is included. Perhaps have an option for a shorter version cmd (+4) as well for those who don't have much space but want the information.

@oleg-astakhov
Copy link

From what I understand this has not been implemented yet. I've just started using split window panes of Windows Terminal, and I instantly ran into this issue that it's hard to tell apart which is which.

If you're looking for ideas for how to implement this, then what I was actually looking for is what I've seen in other terminals, which is the following solution:

Allow to set a custom title which would be like a "watermark" behind the printed text, so that the letters would be pretty large, not too bright, not too dark, just enough to be readable. Also, you can let us change their colors. One great example is having multiple panes open for different "environments": PROD, SAND, TEST, DEV and so on. Of course you can label them anything you want, but this just highlights the very obvious usage scenario.

I would very much like this feature to be delivered. I've googled this just in case it's already done, but I couldn't find anything.

@zadjii-msft
Copy link
Member

@oleg-astakhov sounds kinda like you're asking for something like: #6979.

That's kinda sat in the freezer forever, because it's more or less doable with backgroundImage already. Not nearly as flexible as using the title text as the background, but definitely doable today.

For example, I use the following as a "badge" on my sudo profile:

{
    "backgroundImage": "z:\\dev\\public\\sudo\\img\\Windows\\AppList.targetsize-96.png",
    "backgroundImageAlignment": "topRight",
    "backgroundImageOpacity": 0.5,
    "backgroundImageStretchMode": "none",

    "opacity": 85,
    "useAcrylic": true,

    "colorScheme": "Flatland",
    "name": "sudo",
    "tabTitle": "sudo",
    // Other settings omitted...
},

image

@oleg-astakhov
Copy link

oleg-astakhov commented Aug 19, 2024

@zadjii-msft Thanks for the quick response. I I guess it's partially doable with the images, but you got it right, not flexible, especially if I just need to open multiple new panes fast and start working right away.

For example, in my particular case, I have different docker microservices open in different Tabs and I hop between them. So, I wanted to group them into fewer tabs, and name the panes after the service name. But when I switch to another project, there's a different set of services. So I'd need to name the panes differently.

Creating background images per service, then creating profiles per service, somehow link all that through configuration - that seems too much work and not straightforward. From what I see, the background image is tied to a profile which is tied to a CMD. But I thought I could just add a background for any active pane, without creating a new profile per image, but obviously I can't.

P.S. I'm new to Windows Terminal, I don't know all the features yet, maybe I'm just missing something... But so far, I couldn't achieve what I need with images. That is, I need different images on different panes but in a single tab, and assign these images on the fly, without pre-configuring profiles beforehand. You know, agile and throw-away style :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

5 participants