new: realtime network stats can now be used in the prompt

This commit is contained in:
evilsocket 2018-01-13 19:19:43 +01:00
parent e7da2d4287
commit 75b423ab2d
7 changed files with 31 additions and 4 deletions

View file

@ -32,7 +32,7 @@ func (s *ProxyScript) defineBuiltins() error {
fmt.Printf("%s", v.String())
}
fmt.Println()
s.sess.Input.Refresh()
s.sess.Refresh()
return otto.Value{}
})