fix(tui): retain leader subagent shortcut

This commit is contained in:
Dax Raad 2026-07-10 21:01:55 -04:00
commit ed6c117184
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ export const Definitions = {
session_toggle_timestamps: keybind("none", "Toggle message timestamps"),
session_toggle_generic_tool_output: keybind("none", "Toggle generic tool output"),
session_queued_prompts: keybind("<leader>q", "Manage queued prompts"),
session_child_first: keybind("down", "Toggle subagent picker"),
session_child_first: keybind("down,<leader>down", "Toggle subagent picker"),
session_child_cycle: keybind("right", "Go to next child session"),
session_child_cycle_reverse: keybind("left", "Go to previous child session"),
session_parent: keybind("up", "Go to parent session"),

View file

@ -89,7 +89,7 @@ test("resolves a session move keybind", () => {
test("opens the subagent picker with down", () => {
const config = resolve({}, { terminalSuspend: true })
expect(config.keybinds.get("session.child.first")).toMatchObject([{ key: "down" }])
expect(config.keybinds.get("session.child.first")).toMatchObject([{ key: "down,<leader>down" }])
})
test("disables suspend and assigns ctrl+z to undo when unsupported", () => {