Skip to content

refactor: tidy embedded status border rendering - #14

Merged
tmustier merged 1 commit into
mainfrom
simplify/embedded-status
Oct 1, 2026
Merged

tmustier merged 1 commit into
mainfrom
simplify/embedded-status

Conversation

@tmustier

@tmustier tmustier commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Follow-up to #11.

  • Move extractEmbeddedStatusBorder below extractInlineEditorLines. It was inserted between that function and its doc comment, which left the comment above the wrong function.
  • Take the top line directly from the argument instead of indexing in with an empty-string fallback.
  • Flatten the editor render override so the normal path returns first.

No behaviour change.

Validation: npm run ci (86 tests pass). A real Pi 1.0.0 TUI session with openai/gpt-6-astra at low thinking still shows ── ⠦ Working ── below the queue while a queued row is edited during a bash tool call.

@tmustier
tmustier merged commit c222baf into main Oct 1, 2026
2 checks passed
@tmustier
tmustier deleted the simplify/embedded-status branch October 1, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant