fix: program renderer commands (#1030)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Using program commands like p.EnableMouseCellMotion and p.SetWindowTitle _before_ the program starts can panic the application since `renderer` hasn't been initialized yet. Use program options to enable and set these options if `renderer` is not initialized.
authored by Ayman Bagabas · committed by GitHub · parent 5331b83 · Browse files · 2 files+38 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Fixes: https://github.com/charmbracelet/bubbletea/issues/1029
Diff stats
2 files+38 added−5 removed
- other:+38 added−5 removed