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

Method pressFast

pkg/integration/components/test_driver.go:40–44  ·  view source on GitHub ↗

for use when typing or navigating, because in demos we want that to happen faster

(keyStr string)

Source from the content-addressed store, hash-verified

38// for use when typing or navigating, because in demos we want that to happen
39// faster
40func (self *TestDriver) pressFast(keyStr string) {
41 self.SetCaption("")
42 self.gui.PressKey(keyStr)
43 self.Wait(self.inputDelay / 5)
44}
45
46func (self *TestDriver) click(x, y int) {
47 self.SetCaption(fmt.Sprintf("Clicking %d, %d", x, y))

Callers 4

typeContentMethod · 0.95
PressFastMethod · 0.80
AddNewlineMethod · 0.80
GoToBeginningMethod · 0.80

Calls 3

SetCaptionMethod · 0.95
WaitMethod · 0.95
PressKeyMethod · 0.65

Tested by

no test coverage detected