Some echo tests added.
This commit is contained in:
1 parent
8a32895457
commit
eb5b2038d6
38 files changed
+1739
-31
No files matched your search
@@ -130,8 +130,3 @@ func clipboardPNG(ctx context.Context) (tentaclewire.Item, error) {
|
||||
keep = true
|
||||
return tentaclewire.Item{Path: path, Temporary: true}, nil
|
||||
}
|
||||
func copyTentacleText(ctx context.Context, value string) error {
|
||||
command := exec.CommandContext(ctx, "xclip", "-selection", "clipboard", "-in")
|
||||
command.Stdin = strings.NewReader(value)
|
||||
return command.Run()
|
||||
}
|
||||
Reference in new issue
Block a user