1
0
mirror of https://github.com/makew0rld/amfora.git synced 2025-02-02 15:07:34 -05:00

Fix crash when rendering from stdin

This commit is contained in:
makeworld 2021-12-08 18:02:43 -05:00
parent 9fa31f38d6
commit e021d790ac
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Fixed ### Fixed
- Deadlock when loading an invalid `about:` URL (#277) - Deadlock when loading an invalid `about:` URL (#277)
- Crash when rendering text from stdin
## [1.9.0] - 2021-12-07 ## [1.9.0] - 2021-12-07

View File

@ -94,6 +94,7 @@ func main() {
} }
display.NewTabWithURL(url) display.NewTabWithURL(url)
} else if !isStdinEmpty() { } else if !isStdinEmpty() {
display.NewTab()
renderFromStdin() renderFromStdin()
} else { } else {
display.NewTab() display.NewTab()