Skip to content

Add Finder reveal and copy-path actions for downloads - #4

Merged
melqtx merged 2 commits into
melqtx:mainfrom
num13ru:reveal-download
Jul 16, 2026
Merged

Add Finder reveal and copy-path actions for downloads#4
melqtx merged 2 commits into
melqtx:mainfrom
num13ru:reveal-download

Conversation

@num13ru

@num13ru num13ru commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add o to reveal the selected download in Finder on macOS
  • add y to copy the selected download's saved path to the terminal clipboard using OSC 52
  • wrap OSC 52 sequences for tmux and GNU Screen
  • show the new shortcuts in the downloads view
  • report missing paths and action failures in the TUI

Other changes

  • document how to run and build tork from source
  • ignore binaries built under ./bin

Testing

  • go test ./internal/tui
  • added a test for generating an OSC 52 sequence containing the full download path

I'm open to alternative approaches if they fit the project better

@melqtx

melqtx commented Jul 16, 2026

Copy link
Copy Markdown
Owner

thanks for the pr, it looks good me, ill merge it shortly.

@melqtx
melqtx merged commit 4a38303 into melqtx:main Jul 16, 2026
1 check passed
@num13ru
num13ru deleted the reveal-download branch July 16, 2026 07:29
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.

2 participants