Repository navigation
feat(status): open a pull request from its row - #69
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 statusprints 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