mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 05:23:19 -07:00
Merge pull request #1209 from kkrypt0nn/master
fix: Print event data, not whole struct on non-special events
This commit is contained in:
commit
c154546fba
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func (mod *EventsStream) Render(output io.Writer, e session.Event) {
|
|||
} else if strings.HasPrefix(e.Tag, "zeroconf.") {
|
||||
mod.viewZeroConfEvent(output, e)
|
||||
} else if !strings.HasPrefix(e.Tag, "tick") && e.Tag != "session.started" && e.Tag != "session.stopped" {
|
||||
fmt.Fprintf(output, "[%s] [%s] %v\n", e.Time.Format(mod.timeFormat), tui.Green(e.Tag), e)
|
||||
fmt.Fprintf(output, "[%s] [%s] %v\n", e.Time.Format(mod.timeFormat), tui.Green(e.Tag), e.Data)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue