aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r--ethereal/gui.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go
index 6149b39b7..7a36a8b02 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -482,6 +482,11 @@ func (gui *Gui) update() {
reactor.Subscribe("peerList", peerChan)
}
+func (gui *Gui) CopyToClipboard(data string) {
+ //clipboard.WriteAll("test")
+ fmt.Println("COPY currently BUGGED. Here are the contents:\n", data)
+}
+
func (gui *Gui) setPeerInfo() {
gui.win.Root().Call("setPeers", fmt.Sprintf("%d / %d", gui.eth.PeerCount(), gui.eth.MaxPeers))