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

Mutiple opened tabs don't show properly #2134

Closed
niudai opened this issue Jul 28, 2019 · 2 comments
Closed

Mutiple opened tabs don't show properly #2134

niudai opened this issue Jul 28, 2019 · 2 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@niudai
Copy link

niudai commented Jul 28, 2019

Environment

Windows build number: 10.0.18362.239[run "ver" at a command prompt]
Windows Terminal version 0.2.1831.0:

Any other software? No

Steps to reproduce

material. -->
Opened one WSL terminal tab with a relatively long path like this:

image

The path is too long to give other opened tabs space to show.

I opened another WSL tab, but I cannot see it in the tab bar, only when I maximize the window size can I see it.

normal size

image

maximum size

image

Expected behavior

The tab with relatively long path should shorten itself to give other tabs enough space to show, like in vscode or vs.

Actually this could not be a bug, but may be an issue or feature to be considered.

@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 Jul 28, 2019
@imjasonmiller
Copy link

imjasonmiller commented Jul 29, 2019

This might be related to #608 and #1358, where support for a custom tab title was added with the tabTitle setting. I have shortened mine, as can be seen here. It doesn't appear to support a dynamic titles at the moment, but there was some talk of that in #1320. On a side note, it looks like you are running an older build which might not support tabTitle yet.


Just an update, as those mentioned sequences from #608 might also be of interest to you. I added the following to my .zshrc:

# Uncomment the following line to disable auto-setting terminal title.
DISABLE_AUTO_TITLE="true"
precmd () { print -Pn "\e]0;wsl - %3d\a" }

Although I don't know what it exactly does yet, it does suit my needs, as my title now only consists of the last three directories.

image

@DHowett-MSFT
Copy link
Contributor

Also #857 😄

We should have better documentation on how to drive dynamic titles from the shell. That'd be cool.

@DHowett-MSFT DHowett-MSFT added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Jul 29, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jul 29, 2019
@DHowett-MSFT DHowett-MSFT added Needs-Tag-Fix Doesn't match tag requirements and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jul 29, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants