mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 22:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
93744418ef
commit
63810a5192
1 changed files with 3 additions and 3 deletions
|
@ -252,10 +252,10 @@ func (s *EventsStream) Show(limit int) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(selected) > 0 {
|
if numSelected := len(selected); numSelected > 0 {
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
for _, e := range selected {
|
for i := range selected {
|
||||||
s.View(e, false)
|
s.View(selected[numSelected-1-i], false)
|
||||||
}
|
}
|
||||||
s.Session.Refresh()
|
s.Session.Refresh()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue