We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ConfirmationController
1 parent 0da2760 commit cee840fCopy full SHA for cee840f
pkg/gui/controllers/confirmation_controller.go
@@ -32,6 +32,16 @@ func (self *ConfirmationController) GetKeybindings(opts types.KeybindingsOpts) [
32
Description: self.c.Tr.Confirm,
33
DisplayOnScreen: true,
34
},
35
+ {
36
+ Key: opts.GetKey(opts.Config.Universal.CopyToClipboard),
37
+ Handler: func() error {
38
+ confirmationView := self.c.Views().Confirmation
39
+ text := confirmationView.Buffer()
40
+ return self.c.OS().CopyToClipboard(text)
41
+ },
42
+ Description: self.c.Tr.CopyToClipboardMenu,
43
+ DisplayOnScreen: true,
44
45
{
46
Key: opts.GetKey(opts.Config.Universal.Return),
47
Handler: func() error { return self.context().State.OnClose() },
0 commit comments