Greatly reduce code duplication in clipboard implementations

This commit is contained in:
2024-03-03 23:26:39 -05:00
parent 6fecf5a686
commit 24b899a83a
7 changed files with 112 additions and 140 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func main() {
default:
cli.HelpCopy()
}
offline.CopyField(targetLocation, field, args[0])
offline.CopyArgument(targetLocation, field, args[0])
case "edit":
var field rune
field = field // TODO temporary to avoid unused variable error