Skip to content

Commit

Permalink
Reduce the appearances of the shark-saver...
Browse files Browse the repository at this point in the history
  • Loading branch information
gcla committed Sep 2, 2021
1 parent 608235e commit 3f46d2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/termshark/termshark.go
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ func cmain() int {
ui.Loader.CloseMain()
}

inactiveDuration := 30 * time.Second
inactiveDuration := 60 * time.Second
inactivityTimer := time.NewTimer(inactiveDuration)

var progCancelTimer *time.Timer
Expand Down
6 changes: 0 additions & 6 deletions ui/dialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,10 @@ func OpenTemplatedDialogExt(container gowid.ISettableComposite, tmplName string,

func OpenPleaseWait(container gowid.ISettableComposite, app gowid.IApp) {
PleaseWait.Open(container, fixed, app)
if Fin != nil {
Fin.Activate()
}
}

func ClosePleaseWait(app gowid.IApp) {
PleaseWait.Close(app)
if Fin != nil {
Fin.Deactivate()
}
}

//======================================================================
Expand Down

0 comments on commit 3f46d2f

Please sign in to comment.