Repository navigation
Add Show in Finder and Copy Link to the HTML overlay bar - #663
Merged
Merged
Conversation
make the displayed page easy to share. Show in Finder follows file navigation; Open in Browser retains its original-file behavior. Copy Link stays toolbar-only because the socket never writes the clipboard; scripts read the current URL from `tree`'s `htmlOverlays[].page`.
the `finder` SF Symbol exists only from macOS 26, so on 14 and 15 the button drew as an empty space. It now uses `arrow.up.forward.app`. The two hosted tests named for the fallback path are renamed to the pending-load case they actually cover.
nickalie
added a commit
to nickalie/agterm-linux
that referenced
this pull request
Sep 29, 2026
Upstream umputun#659 and umputun#663 on GTK. libagterm-webkit.so is the one library linked against WebKitGTK 6.0; the app dlopens it, so it runs without WebKitGTK and refuses only --html/--url, naming the package. A file grant is served by a private URI scheme that answers only under --cwd, each page gets an ephemeral network session, and page JavaScript stays off unless --js. WebKitGTK names no target frame, so the main frame's origin is pinned on its response. Claude-Session: https://claude.ai/code/session_01Phfsdpubm1RJGzh7EtShyn
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.
adds a button to the
--navigationbar of an HTML overlay for handing the page to someone else. On a file page, Show in Finder reveals the file on screen, including a sibling page reached by navigation; on a URL page, Copy Link copies the current address with its query and fragment. For file pages, Open in Browser still opens the original file.session overlay navigate finderdoes the reveal from a script and is refused for a URL page. Copy Link has no control command, since the socket never writes the clipboard; scripts read the current address fromtree'shtmlOverlays[].page.