1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-08 22:52:12 +02:00

Update interactive rebase demo

I'm adding an explicit delay between moving the commits and selecting
the next items because otherwise it happens too fast
This commit is contained in:
Jesse Duffield
2024-03-17 23:51:53 +11:00
parent 3675570a39
commit c3f0b5cb4a
3 changed files with 24 additions and 11 deletions

View File

@@ -397,6 +397,12 @@ func (self *ViewDriver) Press(keyStr string) *ViewDriver {
return self
}
func (self *ViewDriver) Delay() *ViewDriver {
self.t.Wait(self.t.inputDelay)
return self
}
// for use when typing or navigating, because in demos we want that to happen
// faster
func (self *ViewDriver) PressFast(keyStr string) *ViewDriver {