Skip to content

Commit

Permalink
go fmt'd cmd.go
Browse files Browse the repository at this point in the history
  • Loading branch information
joshyan1 committed May 16, 2024
1 parent 799aa98 commit 26bfc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ type displayResponseState struct {
wordBuffer string
}

// using runewidth instead of len (cus length is number of bytes, we wnat display length)
// using runewidth instead of len (cus length is number of bytes, we want display length)
func displayResponse(content string, wordWrap bool, state *displayResponseState) {
termWidth, _, _ := term.GetSize(int(os.Stdout.Fd()))
if wordWrap && termWidth >= 10 {
Expand Down

0 comments on commit 26bfc1c

Please sign in to comment.