feat(paths): a file or folder path on screen is a link when it exists (#99) - #100
Merged
Merged
Conversation
…ullscreen view draws (#97) xterm has no markers, so no decorations, on the alternate screen. Each row drawn there has its link text wrapped in a span of the link colour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t
The owner found #4ea1ff too saturated. Same hue and lightness, half the saturation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t
…#99) Relative to the shell's folder or absolute. A click opens a file in its own app and a folder in Explorer; anything runnable is only shown in Explorer. Main resolves and checks every path itself. Menu: Open, Show in Explorer, Copy path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t
Maxaubert
changed the base branch from
fix/97-links-on-alternate-screen
to
main
September 29, 2026 21:50
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 29, 2026
…#99) (#100) * fix(links): paint links on the alternate screen too, where Claude's fullscreen view draws (#97) xterm has no markers, so no decorations, on the alternate screen. Each row drawn there has its link text wrapped in a span of the link colour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t * style(links): a calmer link blue, #79a7d8 (#97) The owner found #4ea1ff too saturated. Same hue and lightness, half the saturation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t * feat(paths): a file or folder path on screen is a link when it exists (#99) Relative to the shell's folder or absolute. A click opens a file in its own app and a folder in Explorer; anything runnable is only shown in Explorer. Main resolves and checks every path itself. Menu: Open, Show in Explorer, Copy path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t * test(paths): real backslashes in the prompt cases (#99) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t --------- Co-authored-by: Claude Opus 5.5 <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 #99.
A file or folder path on screen is now a link when it exists. It can be relative to the tab's folder (
docs/sign-off/rapport.pdf, as Claude writes them) or absolute (C:\...).What happens:
lib/termPathsfinds text that could be a path, taking off sentence punctuation and a:12line number. Main answers which of those exist from the shell's folder. Only those get the link colour and a pointer..exe, a script, a shortcut or an installer (isRunnable) is shown selected in Explorer instead.PS C:\x>andC:\x>would otherwise make every prompt line a link.Safety:
--e2e, main records what it would open (__e2eOpenedPaths) and opens nothing.Core change, so Prism too:
registerTermIpcitspathsopeners paints no paths at all, so nothing is ever painted that a click could not open. That is Prism until it is wired.TermHostConfig.openPathis where Prism will open files inside Prism, as the owner asked. That wiring is a Prism follow-up PR.The scope line in CLAUDE.md now says that opening a path in its own app is in (the owner's call). Stacked on #98, which must merge first. Core 0.17.0, app 0.20.0. These numbers overlap with the other open PRs, and whichever merges later gets bumped again.
Verified:
pathLinkse2e in a real pwsh checks all of the following (10 checks):.batthat exist are painted, and a missing path is not;.batis revealed and never opened;.e2e-shots/path-links.pngwas checked by eye.🤖 Generated with Claude Code
https://claude.ai/code/session_01FHHaWKR4M5QtW7Wecyuk4t