"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b15027636a8f88c7b3d86f88ba704df43f58e727"
Commit 3d90156e authored by Josh Yan's avatar Josh Yan
Browse files

removed comment

parent 26bfc1c4
...@@ -739,7 +739,6 @@ type displayResponseState struct { ...@@ -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 {
......
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