diff --git a/github/pullrequest.go b/github/pullrequest.go index 019c464..5ad920f 100644 --- a/github/pullrequest.go +++ b/github/pullrequest.go @@ -188,7 +188,7 @@ func (pr *PullRequest) String(config *config.Config) string { lineLength += 4 } diff := lineLength - terminalWidth - if diff > 0 { + if diff > 0 && terminalWidth > 3 { line = line[:terminalWidth-3] + "..." }