diff --git a/tea.go b/tea.go index b94ca4e..1519ade 100644 --- a/tea.go +++ b/tea.go @@ -459,6 +459,9 @@ func (p *Program) Run() (Model, error) { killed := p.ctx.Err() != nil if killed { err = ErrProgramKilled + } else { + // Ensure we rendered the final state of the model. + p.renderer.write(model.View()) } // Tear down.