Skip to content

Fix: reduce Linux editor lag from git gutter updates#565

Open
Finesssee wants to merge 1 commit intoathasdev:masterfrom
Finesssee:fix/linux-editor-input-lag
Open

Fix: reduce Linux editor lag from git gutter updates#565
Finesssee wants to merge 1 commit intoathasdev:masterfrom
Finesssee:fix/linux-editor-input-lag

Conversation

@Finesssee
Copy link
Contributor

Fixes #554

Summary

  • stop the Git gutter's immediate refresh effect from re-running on every content change
  • keep file switches and explicit git/file events immediate
  • leave plain text edits on the existing debounced content-diff path

Why

The gutter hook was doing duplicate content-driven work: an immediate refresh that re-fired on every keystroke plus a second debounced content diff. That meant typing could trigger repeated git diff IPC through Tauri, which is a strong candidate for the Linux editor lag reported in #554.

Validation

  • bun fix
  • bun test
  • bun typecheck
  • verified the app still boots and editor/gutter codepath stays intact in the live Athas VPS session

@mehmetozguldev mehmetozguldev self-requested a review March 10, 2026 21:22
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.

Input lag in Linux Mint

1 participant