aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/gui.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-14 23:01:37 +0800
committerobscuren <geffobscura@gmail.com>2014-08-14 23:01:37 +0800
commit1fd69e956949671806b23b7ec1feec4f6c416a81 (patch)
treee807a5564dd81c75b550aeb12405d51f3704d125 /ethereal/gui.go
parent612b631823c0cb80f0e559c533b32b6890349761 (diff)
downloaddexon-1fd69e956949671806b23b7ec1feec4f6c416a81.tar.gz
dexon-1fd69e956949671806b23b7ec1feec4f6c416a81.tar.zst
dexon-1fd69e956949671806b23b7ec1feec4f6c416a81.zip
Implemented "messages"
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r--ethereal/gui.go14
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)
+ }
+ */
}