File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,6 @@ func NewConfirmationController(
26
26
27
27
func (self * ConfirmationController ) GetKeybindings (opts types.KeybindingsOpts ) []* types.Binding {
28
28
bindings := []* types.Binding {
29
- {
30
- Key : opts .GetKey (opts .Config .Universal .Confirm ),
31
- Handler : func () error { return self .context ().State .OnConfirm () },
32
- Description : self .c .Tr .Confirm ,
33
- DisplayOnScreen : true ,
34
- },
35
29
{
36
30
Key : opts .GetKey (opts .Config .Universal .CopyToClipboard ),
37
31
Handler : func () error {
@@ -42,6 +36,12 @@ func (self *ConfirmationController) GetKeybindings(opts types.KeybindingsOpts) [
42
36
Description : self .c .Tr .CopyToClipboardMenu ,
43
37
DisplayOnScreen : true ,
44
38
},
39
+ {
40
+ Key : opts .GetKey (opts .Config .Universal .Confirm ),
41
+ Handler : func () error { return self .context ().State .OnConfirm () },
42
+ Description : self .c .Tr .Confirm ,
43
+ DisplayOnScreen : true ,
44
+ },
45
45
{
46
46
Key : opts .GetKey (opts .Config .Universal .Return ),
47
47
Handler : func () error { return self .context ().State .OnClose () },
You can’t perform that action at this time.
0 commit comments