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
Click a segment to jump to that moment
1msession
0interventions
by library · 14h
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.
- +0Prompt · +0Move 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
- +0mAgent did · +0mLocated the file at extensions/tab-status.ts after an initial path lookup failed, then read its contents to find the title format logic
- +0mAgent did · +0mEdited the setTitle function to change the format from 'pi{status} - {project}' to 'pi - {project}{status}', moving the indicator to the end
- +0mPrompt · +0mGreat commit/push please
- +0mAgent did · +0mCommitted the change with message about moving status indicator, and pushed to main
- +1mOutcome · +1m1 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.