Commit 26bfc1c4 authored by Josh Yan's avatar Josh Yan
Browse files

go fmt'd cmd.go

parent 799aa988
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment