mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
fix: refreshing prompt status when streaming an event to the console
This commit is contained in:
parent
d268bd9288
commit
17bbae48a3
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ func (s *EventsStream) Start() error {
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("[%s] [%s] %v\n", tm, core.Green(e.Tag), e.Data)
|
fmt.Printf("[%s] [%s] %v\n", tm, core.Green(e.Tag), e.Data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.Session.Input.Refresh()
|
||||||
break
|
break
|
||||||
|
|
||||||
case <-s.quit:
|
case <-s.quit:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue