MCPcopy
hub / github.com/jesseduffield/lazygit / click

Method click

pkg/integration/components/test_driver.go:46–50  ·  view source on GitHub ↗
(x, y int)

Source from the content-addressed store, hash-verified

44}
45
46func (self *TestDriver) click(x, y int) {
47 self.SetCaption(fmt.Sprintf("Clicking %d, %d", x, y))
48 self.gui.Click(x, y)
49 self.Wait(self.inputDelay)
50}
51
52// Should only be used in specific cases where you're doing something weird!
53// E.g. invoking a global keybinding from within a popup.

Callers 2

ClickMethod · 0.80
TestSuccessFunction · 0.80

Calls 4

SetCaptionMethod · 0.95
WaitMethod · 0.95
SprintfMethod · 0.65
ClickMethod · 0.65

Tested by 1

TestSuccessFunction · 0.64