Codebase list golang-github-vbauerster-mpb / 151a538
cosmetic Vladimir Bauer 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
155155 if index != len(bb) {
156156 buf := new(bytes.Buffer)
157157 s.flush(buf, space, bb[:index])
158 io.WriteString(w, runewidth.Truncate(buf.String(), width, "!"))
158 io.WriteString(w, runewidth.Truncate(buf.String(), width, "…"))
159159 return
160160 }
161161