Skip to content

Tab names reverting to full path #286

Closed

Description

@richardaubin

What happens

20261014-1516-57.8839184.mp4

Steps to reproduce

..
..

wmux version

2.23

Windows version

No response

Anything else

No response

Activity

  1. amirlehmam commented on Oct 14, 2026

    @amirlehmam
    Owner

    Thanks again, fixed in v2.23.2.

    Cause: your wmux is running as administrator. Windows gives every elevated console a default title of Administrator: <full path of the executable>, here C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.6.0_…\pwsh.exe. The Windows console layer (ConPTY) passes that title to the terminal like any title a program sets. Since 2.x, wmux uses a program's title as the tab name when the tab has none of its own. So each tab showed its folder at first, then switched ("reverted") to the exe path as soon as pwsh's default title came through, including on a duplicated tab.

    Fix: wmux now recognises that default title (an executable path, with or without the "Administrator:" prefix in any language) and ignores it for the tab name, so the tab keeps the folder. Titles a program really sets, like Claude Code's or vim's, still show as before. Tabs you rename yourself always keep your name.

    If you'd rather never have program titles in tabs at all, there is also a switch for that in Settings → Terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions