diff --git a/pkg/gui/custom_patch_options_panel.go b/pkg/gui/custom_patch_options_panel.go index e41849cb1..8dbc75d93 100644 --- a/pkg/gui/custom_patch_options_panel.go +++ b/pkg/gui/custom_patch_options_panel.go @@ -3,7 +3,6 @@ package gui import ( "fmt" - "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/commands/types/enums" "github.com/jesseduffield/lazygit/pkg/gui/types" ) @@ -32,7 +31,7 @@ func (gui *Gui) handleCreatePatchOptionsMenu() error { { Label: "Copy patch to clipboard", OnPress: func() error { return gui.copyPatchToClipbaord() }, - Key: gocui.KeyCtrlO, + Key: 'y', }, } @@ -207,7 +206,7 @@ func (gui *Gui) copyPatchToClipbaord() error { return gui.c.Error(err) } - gui.c.Toast((gui.c.Tr.Actions.CopyPatchToClipboard)) + gui.c.Toast(gui.c.Tr.Actions.CopyPatchToClipboard) return nil }