Skip to content

Commit e021d79

Browse files
committed
Fix crash when rendering from stdin
1 parent 9fa31f3 commit e021d79

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Fixed
99
- Deadlock when loading an invalid `about:` URL (#277)
10+
- Crash when rendering text from stdin
1011

1112

1213
## [1.9.0] - 2021-12-07

amfora.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func main() {
9494
}
9595
display.NewTabWithURL(url)
9696
} else if !isStdinEmpty() {
97+
display.NewTab()
9798
renderFromStdin()
9899
} else {
99100
display.NewTab()

0 commit comments

Comments
 (0)