diff options
Diffstat (limited to 'widgets/msgviewer.go')
-rw-r--r-- | widgets/msgviewer.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go index cd0c9371..94ba98c8 100644 --- a/widgets/msgviewer.go +++ b/widgets/msgviewer.go @@ -758,6 +758,10 @@ func (pv *PartViewer) copyFilterOutToPager() { logging.Warnf("failed to wait for the filter process: %v", err) } pv.pagerin.Close() + // If the pager command doesn't keep the terminal running, we + // risk not drawing the screen until user input unless we + // invalidate after writing + pv.Invalidate() }() } |