Skip to content

[codex] Add container-local focus cycling#2048

Draft
Knapsack44 wants to merge 1 commit into
nikitabobko:mainfrom
Knapsack44:codex/container-local-focus-cycling
Draft

[codex] Add container-local focus cycling#2048
Knapsack44 wants to merge 1 commit into
nikitabobko:mainfrom
Knapsack44:codex/container-local-focus-cycling

Conversation

@Knapsack44

Copy link
Copy Markdown

Summary

Add focus container-next and focus container-prev for container-local sibling cycling.

Behavior

  • Cycles only among direct sibling windows in the focused window's parent container.
  • Wraps within that container.
  • No-ops when there is only one focusable child.
  • Keeps existing workspace-wide focus behavior unchanged.

Validation

  • swift test --filter FocusCommandTest
  • Live test on my system:
    • moved two windows into a workspace container
    • verified focus container-next toggled focus between them
    • verified focus container-prev toggled back

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