diff options
-rw-r--r-- | lib/ui/textinput.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go index 59af7cc8..aa153002 100644 --- a/lib/ui/textinput.go +++ b/lib/ui/textinput.go @@ -9,6 +9,7 @@ import ( "github.com/mattn/go-runewidth" "git.sr.ht/~rjarry/aerc/config" + "git.sr.ht/~rjarry/aerc/logging" ) // TODO: Attach history providers @@ -280,6 +281,7 @@ func (ti *TextInput) updateCompletions() { } if ti.completeDebouncer == nil { ti.completeDebouncer = time.AfterFunc(ti.completeDelay, func() { + defer logging.PanicHandler() ti.showCompletions() }) } else { |