Skip to content

Fix claude-code-toggle-auto-select to reliably switch to Claude buffer - #138

Open
Silex wants to merge 1 commit into
stevemolitor:mainfrom
Silex:fix/toggle-auto-select
Open

Fix claude-code-toggle-auto-select to reliably switch to Claude buffer#138
Silex wants to merge 1 commit into
stevemolitor:mainfrom
Silex:fix/toggle-auto-select

Conversation

@Silex

@Silex Silex commented May 4, 2026

Copy link
Copy Markdown

Summary

  • Replace select-window with pop-to-buffer in two places where claude-code-toggle-auto-select controls focus switching
  • pop-to-buffer reliably displays and selects the buffer, handling edge cases that select-window alone misses (e.g. vterm backend's show/hide init dance, frame selection)

Replace `select-window` with `pop-to-buffer` in both claude-code--start
and claude-code-toggle. `pop-to-buffer` handles edge cases (frame
selection, vterm backend's show/hide dance) that `select-window` misses.
@Silex
Silex force-pushed the fix/toggle-auto-select branch from d79713e to 79b3ba7 Compare May 4, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant