{"version":"2.1.311","anchor":"diff-pane-auto-open-rewritten-to-avoid-racing-with-manual-t","canonical_anchor":"diff-pane-auto-open-rewritten-to-avoid-racing-with-manual-t","heading":"Diff pane no longer pops open empty or right after you close it","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/diff-pane-auto-open-rewritten-to-avoid-racing-with-manual-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Diff pane no longer pops open empty or right after you close it\n\nThe automatic opening of the `\/diff` pane now waits for fresh changes and backs off if you toggled it, it is open, or there is nothing to show\n\n**What**\n\nThe `\/diff` pane shows changes in your working tree, including edits Claude has made. Claude Code can open it for you automatically. That automatic opening now waits for any refresh of the changes that is already under way, then backs off if:\n\n- you opened or closed `\/diff` yourself in the meantime\n\n- the pane is already open\n\n- the refreshed list shows no changed files\n\nAfter it backs off, Claude Code can try again later, after Claude takes an action. Closing the pane by hand now counts as you toggling it yourself.\n\nBefore, it only checked whether the pane was open or still loading.\n\n**Why**\n\nThe pane should no longer open when there is nothing to show, or reopen just after you closed it.\n\n- Area: Elsewhere\n- Names: `\/diff`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}