From b67faca60b21b0cf74d5c967f0f8d215ad601e93 Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Tue, 28 Jul 2026 20:30:49 +0530 Subject: refactor(domains): strip comment noise Removes module banners, step markers, and comments restating the code. Keeps one-line notes for safeJs's trust boundary, the select-match null sentinels, the TUI width clamp, the single-window tab rule, the input synthesis quirks (char events, keyCode, mousemove, focus, compositor), the stale AX value, ignored-wrapper recursion, and isolated-tab routing. Co-Authored-By: Claude Opus 5 (1M context) --- src/domains/click.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/domains/click.ts') diff --git a/src/domains/click.ts b/src/domains/click.ts index 0215d9a..cb4b007 100644 --- a/src/domains/click.ts +++ b/src/domains/click.ts @@ -36,9 +36,7 @@ const dispatchClick = async ( button: "left" | "right" | "middle", count: number, ): Promise> => { - // Move the pointer to the target first. Some focus/hover handlers (and React - // synthetic events) only fire when a mousemove precedes the press, so without - // it a click can land without focusing the element. + // Some focus/hover handlers and React synthetic events only fire when a mousemove precedes the press, so without it a click lands without focusing. const moved = await cdpCall(client, "Input.dispatchMouseEvent", { type: "mouseMoved", x, y }); if (!moved.success) return moved; const pressed = await cdpCall(client, "Input.dispatchMouseEvent", { -- cgit v1.2.3