anthropics / anthropics/claude-code
Keyboard focus for the diff/review panel (no way to "enter" it)
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
**Problem:** When a diff/review ("proposed changes") panel is showing, keystrokes always go to the prompt input. There's no way to move keyboard focus into the diff panel, so its navigation keys (`j`/`k`, arrows, `space`/`b`, `g`) never apply unless the panel was opened modally via `/diff`. If the diff is just displayed alongside the prompt, it can't be driven from the keyboard at all — you have to use the mouse.
**Request:** A focus-toggle / cycle-pane keybinding (e.g. `Tab` or `Ctrl+O`) that moves focus between the prompt and the diff panel, exposed as bindable commands in `~/.claude/keybindings.json` (e.g. `app:focusDiffPanel` / `app:focusChat`, or a `app:cyclePane`). Today `keybindings.json` has `DiffDialog` / `DiffPanel` contexts but no focus/cycle command, so it can't be worked around by rebinding.
**Environment:** Claude Code CLI (terminal).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with ~/.claude/keybindings.json and the DiffDialog/DiffPanel contexts, then trace how /diff opens the panel and how the prompt currently receives keystrokes. Add a bindable focus or cycle command so focus can move between the prompt and displayed diff panel, and verify that the diff navigation keys work in both panes without modal opening.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli, developer-experience
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100