Skip to content

Commit

Permalink
Show message when completed
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Sep 22, 2020
1 parent b6734c0 commit 5d69ade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gui/keybinds.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func attack(ctx context.Context, d *drawer) {
metrics := attacker.Attack(ctx, t, d.chartCh, o)
d.metricsCh <- metrics
d.chartCh <- &attacker.Result{End: true}
d.messageCh <- "Attack completed"
}(ctx, d, target, opts)
}

Expand Down
2 changes: 1 addition & 1 deletion gui/widgets.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func newWidgets() (*widgets, error) {
if err != nil {
return nil, err
}
messageText, err := newText("Give the target URL and press Enter.")
messageText, err := newText("Give the target URL and press Enter")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 5d69ade

Please sign in to comment.