Fix tag truncated when copying to clipboard

Copy the whole tag to clipboard instead of truncating to the value of
TruncateCopiedCommitHashesTo.
This commit is contained in:
Bruno Jesus
2025-02-03 21:25:34 +00:00
parent 49f8dc2ce4
commit 4856c96521
2 changed files with 4 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi
{
ViewName: "tags",
Key: opts.GetKey(opts.Config.Universal.CopyToClipboard),
Handler: self.handleCopySelectedSideContextItemCommitHashToClipboard,
Handler: self.handleCopySelectedSideContextItemToClipboard,
GetDisabledReason: self.getCopySelectedSideContextItemToClipboardDisabledReason,
Description: self.c.Tr.CopyTagToClipboard,
},