Skip to content

[Feature Request] Show current path in window title and running command in tab title #720

@iamkartiknayak

Description

@iamkartiknayak

Issue/Description:
COSMIC Terminal currently shows a current path as window title as long as the current selected tab isn't running a process. TLDR; it uses the same title as the current selected tab (redundant data).

Suggestion:
The window title should always reflect the current working directory of the active tab, and each tab title should display the command currently running (when applicable).

Steps to Reproduce:

  • Open COSMIC Terminal
  • Navigate to different directories in multiple tabs
  • Run a long-running command (e.g., cargo build --release)
  • Observe the window title when switching tabs

Expected Behavior:

  • The window title bar always shows the full (or abbreviated) path of the active tab
  • The tab title shows the currently running command while it is executing
  • Once the command finishes, the tab title reflects the completed command & returns to a meaningful default (e.g., shell or path)

Other Notes:

  • I would like to see the current path as window title & tab title would reflect the process it's running
  • It would be more helpful if the tab title can show a percentage of the executing command it it can be inferred similar to how ptyxis has implemented with a circular progress indicator.

Related to #453

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions