[BUG] Hardcoded terminal buffer filter breaks with external terminal setups
- Lenguaje dominante
- Lua
- Estrellas
- 3.1k
- Forks
- 216
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## 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
1. Configure claudecode.nvim with `terminal.provider = "none"`
2. Launch Claude Code via sidekick.nvim with tmux backend
3. Switch cursor to the Claude Code terminal pane
4. 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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza en selection.lua y reproduce la configuración con terminal.provider = "none" y sidekick.nvim usando el backend de tmux. Comprueba cómo se identifica el búfer de terminal y verifica que al seleccionarlo se conserve, en su lugar, el último búfer de código activo. Confirma la corrección con los pasos de reproducción descritos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- lua, neovim
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 50/100