Skip to content

Claude/remove unused import kfb wa#684

Merged
braedonsaunders merged 2 commits intoclaude/build-openstudio-app-kgia5from
claude/remove-unused-import-KfbWA
Jan 3, 2026
Merged

Claude/remove unused import kfb wa#684
braedonsaunders merged 2 commits intoclaude/build-openstudio-app-kgia5from
claude/remove-unused-import-KfbWA

Conversation

@braedonsaunders
Copy link
Owner

No description provided.

claude added 2 commits January 3, 2026 05:47
The LocalSet approach with spawn_local was causing the WebSocket server
to be starved because the TUI uses blocking I/O (crossterm::event::poll)
that doesn't yield to the async runtime.

Now the WebSocket server runs in a native thread with its own tokio
runtime, which:
- Avoids Send requirements (AppState contains non-Send cpal::Stream)
- Prevents TUI blocking I/O from starving the server
- Follows the same pattern as AudioNetworkBridge
Two fixes:
1. Filter key repeats: Only handle KeyEventKind::Press events, ignoring
   repeats and releases. This prevents rapid toggling when holding a key.

2. Direct panel switching: Changed from toggle functions to direct
   set_panel() calls. Now A/E/N/L keys always go to the specific panel
   instead of toggling back and forth.
@vercel
Copy link

vercel bot commented Jan 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
openstudio Ready Ready Preview, Comment Jan 3, 2026 5:52am

@braedonsaunders braedonsaunders merged commit 3d2a97b into claude/build-openstudio-app-kgia5 Jan 3, 2026
2 checks passed
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.

2 participants