1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

Fixed typo

This commit is contained in:
Phanindra kumar Paladi 2023-01-18 10:14:48 +05:30
parent e87fc4a229
commit 265cdde7bc

View File

@ -30,7 +30,7 @@ func (gui *Gui) handleCreatePatchOptionsMenu() error {
},
{
Label: "Copy patch to clipboard",
OnPress: func() error { return gui.copyPatchToClipbaord() },
OnPress: func() error { return gui.copyPatchToClipboard() },
Key: 'y',
},
}
@ -198,7 +198,7 @@ func (gui *Gui) handleApplyPatch(reverse bool) error {
return gui.c.Refresh(types.RefreshOptions{Mode: types.ASYNC})
}
func (gui *Gui) copyPatchToClipbaord() error {
func (gui *Gui) copyPatchToClipboard() error {
patch := gui.git.Patch.PatchManager.RenderAggregatedPatchColored(true)
gui.c.LogAction(gui.c.Tr.Actions.CopyPatchToClipboard)