mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-03 13:21:56 +02:00
Fixed typo
This commit is contained in:
parent
e87fc4a229
commit
265cdde7bc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user