github modem-dev/hunk v0.21.1

3 hours ago

Faster, reliable paging in LazyGit

Hunk 0.21.1 fixes a pager regression that could peg a CPU core, consume gigabytes of memory, and truncate large color-heavy documents opened through hosts such as LazyGit.

hunk update 0.21.1
npm install -g hunkdiff@0.21.1

Pager reliability

ANSI styling is now restored in a single pass instead of repeatedly rescanning and reallocating the complete document. Headless pager output also writes the full document before exiting, avoiding the previous 64 KB truncation limit for piped consumers. #978

Compatibility notes

  • No configuration, command, or extension API changes.
  • Runtime requirements are unchanged from Hunk 0.21.0.
All merged pull requests
  • Fix pager CPU pegging and truncation on large piped documents by @benvinegar in #978

Release notes: https://hunk.dev/changelog/0.21/
Full changelog: v0.21.0...v0.21.1

Don't miss a new hunk release

NewReleases is sending notifications on new releases.