-
Notifications
You must be signed in to change notification settings - Fork 571
Closed
Description
Bug Description
showSpeed and showDuration are only implemented in the compact layout (renderSessionLine() in session-line.ts). When using the expanded layout, these config options have no effect — the values are never rendered.
Steps to Reproduce
- Set
lineLayout: "expanded"inconfig.json - Enable
display.showSpeed: trueanddisplay.showDuration: true - Observe that neither speed nor duration appears in the status line
Expected Behavior
showSpeed and showDuration should be rendered in expanded layout, just as they are in compact layout.
Root Cause
In the source code:
showSpeedis only checked and rendered insrc/render/session-line.ts(compact layout). There is no corresponding logic in any of the expanded layout renderers undersrc/render/lines/.showDurationhas the same issue — only rendered insession-line.ts, with no expanded layout equivalent.
Other display options like showTokenBreakdown and showSessionName do have implementations in both layouts (e.g., identity.ts and project.ts), so this appears to be an oversight.
Environment
- Plugin version: 0.0.10
- Platform: macOS (Darwin 25.3.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels