Skip to content

Commit 0d38f1f

Browse files
committed
fix: don't truncate field (tablewriter will do)
1 parent 39ea067 commit 0d38f1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

command/issue.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/cli/cli/git"
1515
"github.com/cli/cli/internal/ghrepo"
1616
"github.com/cli/cli/pkg/githubtemplate"
17-
"github.com/cli/cli/pkg/text"
1817
"github.com/cli/cli/utils"
1918
"github.com/spf13/cobra"
2019
"github.com/spf13/pflag"
@@ -395,7 +394,7 @@ func printIssues(w io.Writer, prefix string, totalCount int, issues []api.Issue)
395394
now := time.Now()
396395
ago := now.Sub(issue.UpdatedAt)
397396
table.AddField(issueNum, nil, colorFuncForState(issue.State))
398-
table.AddField(text.Truncate(70, replaceExcessiveWhitespace(issue.Title)), nil, nil)
397+
table.AddField(replaceExcessiveWhitespace(issue.Title), nil, nil)
399398
table.AddField(labels, nil, utils.Gray)
400399
table.AddField(utils.FuzzyAgo(ago), nil, utils.Gray)
401400
table.EndRow()

0 commit comments

Comments
 (0)