removed comment

This commit is contained in:
Josh Yan 2024-05-16 14:12:03 -07:00
parent 26bfc1c443
commit 3d90156e99

View file

@ -739,7 +739,6 @@ type displayResponseState struct {
wordBuffer string 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) { func displayResponse(content string, wordWrap bool, state *displayResponseState) {
termWidth, _, _ := term.GetSize(int(os.Stdout.Fd())) termWidth, _, _ := term.GetSize(int(os.Stdout.Fd()))
if wordWrap && termWidth >= 10 { if wordWrap && termWidth >= 10 {