mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: showing last events in net.show instead of useless histogram
This commit is contained in:
parent
3d7c19b071
commit
eb1a53efa3
4 changed files with 50 additions and 21 deletions
|
@ -160,7 +160,7 @@ func (s *Session) clsHandler(args []string, sess *Session) error {
|
|||
// fixes a weird bug which causes the screen not to be fully
|
||||
// cleared if a "clear; net.show" commands chain is executed
|
||||
// in the interactive session.
|
||||
for i := 0; i < 80; i++ {
|
||||
for i := 0; i < 180; i++ {
|
||||
fmt.Println()
|
||||
}
|
||||
readline.ClearScreen(s.Input.Stdout())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue