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

Method Press

pkg/integration/components/view_driver.go:411–417  ·  view source on GitHub ↗
(key config.Keybinding)

Source from the content-addressed store, hash-verified

409}
410
411func (self *ViewDriver) Press(key config.Keybinding) *ViewDriver {
412 self.IsFocused()
413
414 self.t.press(key[0])
415
416 return self
417}
418
419func (self *ViewDriver) Delay() *ViewDriver {
420 self.t.Wait(self.t.inputDelay)

Callers 15

PressPrimaryActionMethod · 0.95
PressEnterMethod · 0.95
PressTabMethod · 0.95
PressEscapeMethod · 0.95
FilterOrSearchMethod · 0.95
ResetBisectMethod · 0.80
ConfirmSuggestionMethod · 0.80
ConfirmMethod · 0.80
apply.goFile · 0.80

Calls 2

IsFocusedMethod · 0.95
pressMethod · 0.45

Tested by

no test coverage detected