Keep the selected split-diff row visible at the bottom of Hunk, with the old version above the new version.
Prefer a still? See the screenshot.
Hunk 0.19 or newer can install the extension directly from GitHub:
hunk extension install modem-dev/hunk-lensNew Hunk sessions load it automatically.
Open a split review as usual:
hunk diff --mode splitThe lens occupies three rows at the bottom of the review and follows Hunk's current-line marker. Use Extensions → Toggle current-line lens to hide or restore it.
The lens stays out of the layout when current-line paint is unavailable, including stacked layout, a disabled current-line marker, and alternate file presentations.
hunk extension update hunk-lens
hunk extension remove hunk-lensPin a release when you want updates to stay on a specific version:
hunk extension install modem-dev/hunk-lens@v0.1.0Hunk serves React, OpenTUI, and hunkdiff/extension at runtime. This repository keeps them as development-only dependencies and ships TypeScript source directly—there is no build step.
bun install
bun run check
hunk diff --mode split --extension /path/to/hunk-lensSee Hunk's extension guide for the public API and trust model.
See CONTRIBUTING.md. Report vulnerabilities through GitHub's private security advisory flow.
