mirror of
https://github.com/makew0rld/amfora.git
synced 2024-12-04 14:46:29 -05:00
🐛 Fix unindented text flash
This commit is contained in:
parent
a8da7366c7
commit
50cac709fa
@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- XDG user dir file is parsed instead of looking for XDG env vars (#97, #100)
|
- 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
|
## [v1.5.0] - 2020-09-01
|
||||||
|
@ -43,14 +43,19 @@ func main() {
|
|||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initalize lower-level cview app
|
||||||
|
if err = display.App.Init(); err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initialize Amfora's settings
|
||||||
display.Init()
|
display.Init()
|
||||||
display.NewTab()
|
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 {
|
if len(os.Args[1:]) > 0 {
|
||||||
display.URL(os.Args[1])
|
display.URL(os.Args[1])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Start
|
||||||
if err = display.App.Run(); err != nil {
|
if err = display.App.Run(); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user