mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
refact: last 20 events in netshow were redundant
This commit is contained in:
parent
b2abc5e1ed
commit
3e640c4bac
3 changed files with 3 additions and 22 deletions
|
@ -156,6 +156,8 @@ func (s *EventsStream) Show(limit int) error {
|
|||
from = num - limit
|
||||
}
|
||||
|
||||
fmt.Println()
|
||||
|
||||
for _, e := range events[from:num] {
|
||||
s.View(e, false)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue