You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add --smooth and --duration-ms flags to move-mouse and drag-mouse
Support human-like Bezier curve movement from the CLI for both
move-mouse and drag-mouse commands. Smooth is enabled by default;
pass --smooth=false for instant teleport (move) or linear interpolation
(drag). Use --duration-ms to control movement timing.
Made-with: Cursor
computerMove.Flags().Int64("duration-ms", 0, "Target duration in ms for smooth movement (50-5000, 0 for auto)")
2242
2268
2243
2269
computerScreenshot:=&cobra.Command{Use: "screenshot <id>", Short: "Capture a screenshot (optionally of a region)", Args: cobra.ExactArgs(1), RunE: runBrowsersComputerScreenshot}
computerDrag.Flags().StringSlice("hold-key", []string{}, "Modifier keys to hold (repeatable)")
2307
+
computerDrag.Flags().Bool("smooth", true, "Use human-like Bezier curves between waypoints")
2308
+
computerDrag.Flags().Int64("duration-ms", 0, "Target duration in ms for smooth drag (50-10000, 0 for auto)")
2281
2309
2282
2310
// computer set-cursor
2283
2311
computerSetCursor:=&cobra.Command{Use: "set-cursor <id>", Short: "Hide or show the cursor", Args: cobra.ExactArgs(1), RunE: runBrowsersComputerSetCursor}
0 commit comments