Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript

mods/diff: pane comments name its tab and the person's close, not the removed header and [x]

poteatace6b00ba366
diff --git a/mods/diff/hooks/names/pane-title.ts b/mods/diff/hooks/names/pane-title.ts
index 0f586fa8..5040523c 100644
--- a/mods/diff/hooks/names/pane-title.ts
+++ b/mods/diff/hooks/names/pane-title.ts
@@ -1,4 +1,4 @@
/**
- * The pane header's text.
+ * The pane's title: its tab while another pane is open too.
*/
export const PANE_TITLE = 'Diff'
diff --git a/mods/diff/hooks/pane-toggle/pane-toggle-of.ts b/mods/diff/hooks/pane-toggle/pane-toggle-of.ts
index 24eca7a0..0ddcb2ce 100644
--- a/mods/diff/hooks/pane-toggle/pane-toggle-of.ts
+++ b/mods/diff/hooks/pane-toggle/pane-toggle-of.ts
@@ -4,7 +4,7 @@ import type { PaneBelief } from './pane-belief'
* What `/diff` does, the one place its toggle is decided: close only when
* the plugin opened the pane and it still draws; otherwise open, focused.
*
- * The person's `[x]` raises nothing a plugin sees, so a pane believed
+ * The person's close raises nothing this plugin hooks, so a pane believed
* open is probed with a redraw first.
*
* @param pane the plugin's belief and the probe's answer