mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
Add "CopyToClipboard" command to ConfirmationController
This commit is contained in:
@@ -36,6 +36,11 @@ func (self *Popup) Alert() *AlertDriver {
|
||||
return &AlertDriver{t: self.t}
|
||||
}
|
||||
|
||||
func (self *AlertDriver) Tap(f func()) *AlertDriver {
|
||||
self.getViewDriver().Tap(f)
|
||||
return self
|
||||
}
|
||||
|
||||
func (self *Popup) inAlert() {
|
||||
// basically the same thing as a confirmation popup with the current implementation
|
||||
self.t.assertWithRetries(func() (bool, string) {
|
||||
|
||||
Reference in New Issue
Block a user