Repository navigation
Closed
Labels
Area-SettingsIssues related to settings and customizability, for console or terminalIn-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.
Milestone
Description
Description of the new feature/enhancement
Provide an option in settings.json to remove the icon for a profile completely, and reclaim the space in the tab bar to display (more of) the profile's name/tab title.
Use case: I routinely work with a large number of open tabs, in which case the profile icon takes up between 1/3 to 1/2 of the available tab width, meaning only the first 3-4 characters of the window title are shown. This is insufficient for me to quickly identify and switch between open tabs.
While I do appreciate the cute row of Tux-en at top of my screen :) (most of my tabs are ssh sessions to remote Linux machines), I'd rather have the real-estate used more productively.
Tried the following to achieve this in 1.21, without success:
- Setting
"icon": ""in the profile definition -> causes WT to throw an error about invalid icon path - Setting
"icon": nullin the profile definition -> does nothing; the inbuilt default icon for the profile will still be used - Setting the icon path to a 1x1 pixel transparent .png (thought I was being clever here) -> does achieve "blanking out" the profile icon (the default icon will no longer be shown), but does not move the profile title any further to the left in the tab.
Proposed technical implementation details (optional)
- Allow some variant of
"icon": "none","icon": ""or similar to be set in the profile definition - When configured, the icon should be removed from the tab completely, and the tab title shifted as far left as possible.
Reacted by Zeroes1
Metadata
Metadata
Assignees
Labels
Area-SettingsIssues related to settings and customizability, for console or terminalIn-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.
Activity
DHowett commentedon Oct 2, 2024
Huh. 4ff38c2 should have introduced support for
"icon": "none".We've marked this up as a bug. Thanks!
LouizaMak commentedon Oct 10, 2024
Carlos Zamora (@carlos-zamora) I would be interested in working on this!
carlos-zamora commentedon Oct 10, 2024
Thanks for you interest Louiza Mak (@LouizaMak)! I'm already working in this space though with #17965 (and I plan on fixing it as a part of that PR). I suggest working on a different issue. Issues tagged as "Help-Wanted" (see this query) would be a good place to start 😊
Also, we're happy to take PRs, so no need to comment on the issue you're interested in. Just get coding and open a PR on our repo. Excited to see it come in!
Fix hiding the icon when it's set to "none" (#18030)
Fix hiding the icon when it's set to "none" (#18030)
Fix hiding the icon when it's set to "none" (#18030)