sync all clients in yank/delete

Mentioned in #13 and #36.
This commit is contained in:
Gokcehan committed 2016-11-10 23:32:46 +03:00
1 parent a4c395a4de
commit 428f9e3dcb
2 files changed
+22

No files matched your search

+12
View File
@@ -138,3 +138,15 @@ func loadFiles() (list []string, copy bool, err error) {
return
}
func sendServer(cmd string) error {
c, err := net.Dial("unix", gSocketPath)
if err != nil {
return fmt.Errorf("dialing to send server: %s", err)
}
defer c.Close()
fmt.Fprintln(c, "send sync")
return nil
}