fix: recover from panics within cmds
Before adoption: this commit came in with the history the project adopted, so no landing records it.
We should recover from panics within a cmd. Currently, Bubble Tea only recovers from panics within the eventLoop. This makes it so that it also recovers from panics within cmd go routines.
authored by Ayman Bagabas · committed by Ayman Bagabas · parent 7ca1b0b · Browse files · 1 file+16 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Supersedes: https://github.com/charmbracelet/bubbletea/pull/846
- Fixes: https://github.com/charmbracelet/bubbletea/issues/234
Diff stats
1 file+16 added−8 removed
- other:+16 added−8 removed