-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: program renderer commands (#1030)
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. Fixes: #1029
- Loading branch information
1 parent
5331b83
commit eb78a8c
Showing
2 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters