Open
Conversation
Add a KeyCode::BackTab arm in handle_task_list_input that decrements app.active_tab with wrapping using (active_tab + 8) % 9. Includes tests for backward cycling and wrap-around from first to last tab.
avirtuos
requested changes
Mar 9, 2026
Owner
avirtuos
left a comment
There was a problem hiding this comment.
Overall looks good. One change to consider before I think this can be merged.
| KeyCode::Tab => { | ||
| app.active_tab = (app.active_tab + 1) % 9; | ||
| } | ||
| KeyCode::BackTab => { |
Owner
There was a problem hiding this comment.
BackTab is already used by the Research Tab to switch between Plan and Act modes. I like your proposal to use BackTab for tab navigation. Do you mind changing the short-cut used for Plan/Act in the research tab as part of this PR? Maybe just a simple Shift+p to switch modes?
Author
There was a problem hiding this comment.
Is there a commit missing? I only see KeyCode::Tab referenced here and KeyCode::BackTab is only referenced in this PR. There also doesn't seem to be a research Plan & Act mode in the research tab which suggests something might be missing from the main branch.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This helps with navigating both forward and backwards in the clawmux interface. Also using this as an opportunity to play around with clawmux, hence including 11.2 as a completed task.