{"version":"2.1.277","anchor":"new-diff-sidebar-auto-enable-gate-function-requires-a-git-re","canonical_anchor":"new-diff-sidebar-auto-enable-gate-function-requires-a-git-re","heading":"New diff-sidebar auto-enable gate function requires a git repo, focus, and terminal width","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/new-diff-sidebar-auto-enable-gate-function-requires-a-git-re","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### New diff-sidebar auto-enable gate function requires a git repo, focus, and terminal width\n\nThe diff sidebar now auto-enables only when the repo is git, the main pane is focused, and the terminal is wide enough\n\n**What**\n\nClaude Code now uses a single centralized check to decide when the diff sidebar (the panel that shows file changes alongside the conversation) should turn on automatically. All of these must be true:\n\n- the sidebar feature itself is enabled\n\n- the terminal is in fullscreen mode\n\n- the client is not a \"thin\" client (a lighter-weight connection type)\n\n- the main pane currently has focus\n\n- the terminal is at least a minimum number of columns wide\n\n- the current working directory is inside a git repository\n\n**Why**\n\nBundling these checks into one place means the sidebar won't pop up in situations where it wouldn't fit or wouldn't make sense, such as a narrow terminal window, an unfocused pane, or a folder that isn't a git repository.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}