fix(tui): make move session command bindable (#33508)

Add the session_move TUI keybind and map it to the existing session.move command. Keep it unbound by default and document the new configuration option.

Closes #33239
This commit is contained in:
Simon Klee
2026-06-23 15:55:14 +02:00
committed by GitHub
parent ef4500d6af
commit 3cdd431794
3 changed files with 9 additions and 0 deletions
+6
View File
@@ -80,6 +80,12 @@ test("resolves overrides without mutating input", () => {
expect(input.keybinds).toEqual({ session_list: "ctrl+l" })
})
test("resolves a session move keybind", () => {
const config = resolve({ keybinds: { session_move: "ctrl+o" } }, { terminalSuspend: true })
expect(config.keybinds.get("session.move")).toMatchObject([{ key: "ctrl+o" }])
})
test("disables suspend and assigns ctrl+z to undo when unsupported", () => {
const config = resolve({}, { terminalSuspend: false })