Josh Yan преди 11 месеца
родител
ревизия
3d90156e99
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      cmd/cmd.go

+ 0 - 1
cmd/cmd.go

@@ -739,7 +739,6 @@ type displayResponseState struct {
 	wordBuffer string
 }
 
-// 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 {