diff options
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r-- | ethereal/gui.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go index d191f67d0..276c1a348 100644 --- a/ethereal/gui.go +++ b/ethereal/gui.go @@ -515,11 +515,13 @@ func (gui *Gui) Printf(format string, v ...interface{}) { // Print function that logs directly to the GUI func (gui *Gui) printLog(s string) { - str := strings.TrimRight(s, "\n") - lines := strings.Split(str, "\n") + /* + str := strings.TrimRight(s, "\n") + lines := strings.Split(str, "\n") - view := gui.getObjectByName("infoView") - for _, line := range lines { - view.Call("addLog", line) - } + view := gui.getObjectByName("infoView") + for _, line := range lines { + view.Call("addLog", line) + } + */ } |