added output to clipboard
This commit is contained in:
parent
669707f14a
commit
6f5f255b66
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ proc markup(str: string): string =
|
|||
return text
|
||||
|
||||
proc copyToClipboard*(str: string): bool {.discardable.} =
|
||||
return false
|
||||
let ok = execCmd("echo -n " & quote(str) & " | xclip -selection clipboard")
|
||||
return ok == 0
|
||||
|
||||
proc genMenuCmd(data: Info, opts: varargs[string]): string =
|
||||
var cmd = ""
|
||||
|
|
Loading…
Reference in a new issue