feat(tmux): add a per-host mouse toggle and preserve remote configuration (#1513)

This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-09-30 09:53:17 -05:00
1 parent 99cffc9ba6
commit 9801cc7fc7
10 files changed
+183 -44

No files matched your search

@@ -92,11 +92,17 @@ describe("host editor section", () => {
protocols: { ssh: true },
});
fireEvent.click(screen.getByRole("button"));
fireEvent.click(screen.getAllByRole("button")[0]);
const settings = (form.pluginSettings as Record<string, unknown>)[
"tmux-monitor"
] as { enableTmuxMonitor: boolean };
expect(settings.enableTmuxMonitor).toBe(true);
fireEvent.click(screen.getAllByRole("button")[1]);
expect(
(form.pluginSettings as Record<string, Record<string, unknown>>)[
"tmux-monitor"
],
).toEqual({ enableTmuxMonitor: true, mouseEnabled: false });
});
});