Przeglądaj źródła

removed comment

Josh Yan 1 rok temu
rodzic
commit
3d90156e99
1 zmienionych plików z 0 dodań i 1 usunięć
  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 {