Skip to content
PirefactorCLI & tooling1 file · +5 −5

Move terminal tab status indicator to end of title in tab-status.ts

Session from pi-extensions-sessions on Hugging Face by thomasmustier · MIT · condensed by Coders Talk

1msession
0interventions
GOAL

Move the terminal tab status indicator from the front to the end of the tab title string so it stays visible when tabs are narrow and only show their right side.

  1. Prompt · +0
    Move the status indicator in tab-status.ts to the end of the title instead of the front, since narrow tabs only show the right side
  2. Agent did · +0m
    Located the file at extensions/tab-status.ts after an initial path lookup failed, then read its contents to find the title format logic
  3. Agent did · +0m
    Edited the setTitle function to change the format from 'pi{status} - {project}' to 'pi - {project}{status}', moving the indicator to the end
  4. Prompt · +0m
    Great commit/push please
  5. Agent did · +0m
    Committed the change with message about moving status indicator, and pushed to main
  6. Outcome · +1m
    1 file changed, 1 line modified; committed as aeb59f7 and pushed to main
VERDICT

This was a tiny, well-scoped fix, so I didn't need to intervene at all. Next time I'd just include the file's full path up front since the agent wasted a couple steps finding it after an ENOENT error. Straightforward one-line change, commit, push, done.

I tried this · 0

Discussion · 0

How Builds work