-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Describe the feature or problem you'd like to solve
No response
Proposed solution
Claude Code ships a statusline today (https://code.claude.com/docs/en/statusline) — a persistent bottom bar that runs a user-defined shell script.
Proposed design for Copilot CLI:
- Config:
statusLinefield in~/.copilot/config.jsonpointing to a shell script or inline command - Data: Script receives JSON session data on stdin (model name, context %, cwd, git branch, session cost)
- Display: Persistent bottom bar showing whatever the script prints (supports ANSI colors, multi-line)
- Command:
/statuslineto generate scripts from natural language - Updates: Refresh after each assistant message (debounced ~300ms)
Example prompts or workflows
/statusline show model name and context percentage with a progress bar/statusline show git branch, modified file count, and session cost- A statusline.sh that color-codes context usage: green <50%, yellow 50-80%, red >80%
- Multi-line bar: git info on line 1, context + cost on line 2
- Inline jq command:
jq -r '"[\(.model.display_name)] \(.context_window.used_percentage)% context"'
Additional context
This would help avoid surprise context compactions, distinguish multiple sessions at a glance, and keep git branch always visible when switching repos.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for Feature.