[BUG] Hardcoded terminal buffer filter breaks with external terminal setups
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 50/100
調査の方向性
selection.lua から始め、tmux バックエンドの sidekick.nvim と terminal.provider = "none" を使ってセットアップを再現します。ターミナルバッファがどのように識別されるかを確認し、それを選択した場合に、代わりに最後にアクティブだったコードバッファが保持されることを検証します。説明されている再現手順で修正を確認します。
索引モデルが issue の本文から書いたものです。
説明
Bug Description
The terminal buffer filter in selection.lua is hardcoded to only match buffers containing "claude" in their name. When Claude Code runs via sidekick.nvim with mux.backend = "tmux", the terminal buffer is named term://...tmux - it never contains "claude". As a result, selection tracking treats the tmux terminal as an active code buffer instead of ignoring it.
I have a fix ready and will open a PR shortly.
To Reproduce
- Configure claudecode.nvim with
terminal.provider = "none" - Launch Claude Code via sidekick.nvim with tmux backend
- Switch cursor to the Claude Code terminal pane
- Selection tracking reports the tmux terminal buffer instead of the last active code file
Expected Behavior
Selection tracking should ignore the terminal buffer and retain the last active code buffer, regardless of how Claude Code was launched.
Environment
n/a - the issue is in the Lua filter logic, independent of versions.
Error Messages
No error messages. The filter silently fails to match.
- 主要言語
- Lua
- スター
- 3.1k
- フォーク
- 217
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/claudecode.nvim のほかの issue
-
bug needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
coder/claudecode.nvim#314 ·
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/claudecode.nvim#313 ·
-
needs-triage
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
coder/claudecode.nvim#319 · リアクション 1 件 ·
-
[BUG] 框选文本一直抱错误信息 オープンbug needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
coder/claudecode.nvim#316 · コメント 1 件 ·
-
needs-triage
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
coder/claudecode.nvim#309 ·
coder/claudecode.nvim の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
openSUSE/python-rpm-macros#219 ·
-
bug mini.bracketed
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
accessibility bug typst
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
quarto-dev/quarto-cli#14947 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
HenrikBengtsson/CBI-software#134 ·