1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-09-29 23:15:59 -04:00

🐛 Fix unindented text flash

This commit is contained in:
makeworld 2020-10-29 19:31:30 -04:00
parent a8da7366c7
commit 50cac709fa
2 changed files with 8 additions and 2 deletions

View File

@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- XDG user dir file is parsed instead of looking for XDG env vars (#97, #100)
- More reliable start, no more flash of unindented text, or text that stays unindented (#107)
## [v1.5.0] - 2020-09-01

View File

@ -43,14 +43,19 @@ func main() {
os.Exit(1)
}
// Initalize lower-level cview app
if err = display.App.Init(); err != nil {
panic(err)
}
// Initialize Amfora's settings
display.Init()
display.NewTab()
display.NewTab() // Open extra tab and close it to fully initialize the app and wrapping
display.CloseTab()
if len(os.Args[1:]) > 0 {
display.URL(os.Args[1])
}
// Start
if err = display.App.Run(); err != nil {
panic(err)
}