[BUG] 'f' foreground keybinding in /tasks does nothing for agent tasks
Resolved 💬 4 comments Opened Feb 5, 2026 by akizhou Closed Mar 5, 2026
Description
When viewing a running agent task in /tasks, the UI shows f to foreground as an option, but pressing f does nothing.
Steps to Reproduce
- Spawn a subagent using the Task tool (e.g.,
claude-code-guidetype) - Press
Ctrl+Bto background it - Type
/tasksto view running tasks - Select the running agent task
- Press
f(as shown in the UI: "f to foreground")
Expected Behavior
The agent task should be brought to the foreground.
Actual Behavior
Nothing happens. The keypress is ignored.
UI Screenshot
<img width="1866" height="460" alt="Image" src="https://github.com/user-attachments/assets/0d9f1d3b-df2d-4934-8cb6-f2c737918517" />
Notes
- The
foption only appears for agent tasks, not bash background tasks k(kill) works correctly- Other keybindings (Esc, Enter, Space, ←) work correctly
Environment
- Claude Code version: 2.1.31
- OS: macOS Darwin 24.6.0
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗