about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/msgviewer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index d5bbace..05da2a0 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -537,6 +537,7 @@ func (pv *PartViewer) attemptCopy() {
 			go func() {
 				<-ch
 				<-ch
+				pv.filter.Wait()
 				pv.pagerin.Close()
 			}()
 		}