1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

update test

This commit is contained in:
Jesse Duffield
2022-09-17 11:58:24 -07:00
committed by Luka Markušić
parent 0141bbde0e
commit 23d39c79b2
30 changed files with 58 additions and 26 deletions

View File

@ -76,6 +76,12 @@ func (self *Input) Confirm() {
self.pressKey(self.keys.Universal.Confirm)
}
func (self *Input) ProceedWhenAsked(matcher *matcher) {
self.assert.InConfirm()
self.assert.MatchCurrentViewContent(matcher)
self.Confirm()
}
// i.e. same as Confirm
func (self *Input) Enter() {
self.pressKey(self.keys.Universal.Confirm)