Codebase list golang-github-vbauerster-mpb / ebc74ea
fix for xterm Vladimir Bauer 7 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3535
3636 // Flush flushes the underlying buffer
3737 func (w *Writer) Flush(lineCount int) (err error) {
38 w.clearLines()
38 if w.lineCount > 0 {
39 w.clearLines()
40 }
3941 w.lineCount = lineCount
4042 _, err = w.buf.WriteTo(w.out)
4143 return