fix: refreshing prompt status when streaming an event to the console

This commit is contained in:
evilsocket 2018-01-08 10:20:51 +01:00
commit 17bbae48a3

View file

@ -68,6 +68,8 @@ func (s *EventsStream) Start() error {
} else {
fmt.Printf("[%s] [%s] %v\n", tm, core.Green(e.Tag), e.Data)
}
s.Session.Input.Refresh()
break
case <-s.quit: