Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlandon authored Aug 16, 2023
2 parents ea940a1 + f5daa5f commit 77dc70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/term/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func GetWidth() (termWidth int) {
fd := int(stdoutTerm.Fd())
termWidth, _, err = GetSize(fd)

if err != nil {
if err != nil || termWidth == 0 {
termWidth = defaultTermWidth
}

Expand Down

0 comments on commit 77dc70d

Please sign in to comment.