This repository was archived by the owner on Sep 30, 2026. It is now read-only.
Repository navigation
fix(tui): disable Alt+B/Ctrl+B move-tool-to-background keypress - #13
Merged
Merged
Conversation
The Alt+B and Ctrl+B key handlers intercepted a running tool and detached it to the background via remote.background_tool() plus a 'Moving tool to background...' notice. Remove both keypress paths so Alt+B and Ctrl+B are purely readline word-back cursor motions again, and drop the now-inaccurate tip that advertised the shortcut. The programmatic background_tool machinery (Request::BackgroundTool, the agent background_tool_signal, and the bg tool) is left intact for programmatic use; only the hardcoded keypress-to-detach binding is removed.
This was referenced Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Turn OFF the Alt+B / Ctrl+B keypress that moves a currently-running tool to the background.
Both key handlers in
crates/jcode-tui/src/tui/app/remote/key_handling.rsintercepted aRunningToolstatus and calledremote.background_tool()with a "Moving tool to background..." notice. This removes both keypress paths so Alt+B and Ctrl+B are purely readline word-back cursor motions again, and drops the now-inaccurate tip ininfo_widget_tips.rsthat advertised the shortcut.Scope
Request::BackgroundTool, the agentbackground_tool_signal, thebgtool). Only the hardcoded keypress binding is removed, per the request.Validation
cargo build -p jcode-tui: clean.cargo clippy -p jcode-tui: clean on touched files.No behavior change to programmatic backgrounding; net diff is 11 deletions across 2 files.