Skip to content
Myr

fix: deadlock condition on model init panic

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by eric · committed by Christian Muehlhaeuser · parent d61e697 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:tea.go+3 added-3 removed
506 unmodified lines
507 p.renderer.enableMouseAllMotion()508 p.renderer.enableMouseSGRMode()509 }510511 // Start the renderer.512 p.renderer.start()513514 // Initialize the program.515 model := p.initialModel516 if initCmd := model.Init(); initCmd != nil {517 ch := make(chan struct{})
8 unmodified lines
526 }527 }()528 }529527 // Start the renderer.528 p.renderer.start()529530 // Render the initial view.531 p.renderer.write(model.View())532533 // Subscribe to user input.
190 unmodified lines