8000 feat(status): open a pull request from its row by dominikwozniak · Pull Request #69 · dominikwozniak/dw-mc · GitHub
[go: up one dir, main page]

Skip to content

feat(status): open a pull request from its row - #69

Merged
dominikwozniak merged 1 commit into
mainfrom
feat/68-clickable-pr-link
Sep 17, 2026
Merged

dominikwozniak merged 1 commit into
mainfrom
feat/68-clickable-pr-link

Conversation

@dominikwozniak
Copy link
Copy Markdown
Owner

Closes #68.

Reading the table and then hunting the pull request down in a browser is the one step the table was meant to remove. Every reference dw-mc status prints now carries the pull request's URL through OSC 8, so the terminal opens it. The text on the row is the reference it always was, which is what keeps a pipe, a paste and a terminal that ignores the sequence reading what they read before. The link arrives under the same condition colour does, asked once of the services.

A link is characters the screen never shows, so the table measures and cuts by those sequences as well as by colour. A row cut through a link spills it onto the screen; a row that loses the sequence closing it links everything after it to the wrong pull request.

The picker's rows go without. Effect's prompts count the lines they erase from the raw length of what they drew (Prompt.ts:1593), and a pull request URL of mine is some fifty characters out of an eighty-wide row — the title and what the pull request waits on are what would pay for it. A row there is something I pick, not something I click. ADR 0007 carries both halves of that rule.

Verified against the live table under a pty: each reference comes out wrapped in ESC]8;;<url>ESC\…ESC]8;;ESC\, and the rules between the columns still stand in one line.

🤖 Generated with Claude Code

Reading the table and then hunting the pull request down in a browser is
the one step the table was meant to remove. Every reference it prints now
carries the pull request's URL through OSC 8, so the terminal opens it.
The text is the reference it always was, which is what keeps a pipe, a
paste and a terminal that ignores the sequence reading what they read
before.

A link is characters the screen never shows, so the table now measures
and cuts by sequences as well as by colour: a row cut through a link
would spill it, and a row that lost the sequence closing it would link
everything after it to the wrong pull request.

The picker's rows go without. A prompt counts the lines it erases from
the length of what it drew, and a URL of mine is fifty characters out of
an eighty-wide row; the title and what the pull request waits on are what
would pay for it. A row there is something I pick, not something I click.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dominikwozniak
dominikwozniak merged commit c647a6a into main Sep 17, 2026
1 check passed
@dominikwozniak
dominikwozniak deleted the feat/68-clickable-pr-link branch September 17, 2026 19:13
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.

feat(status): the pull request reference is a clickable link

1 participant

0