We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a6ee7 commit 48cfdd0Copy full SHA for 48cfdd0
2 files changed
go.mod
@@ -1,3 +1,3 @@
1
-module github.com/gosuri/uilive
+module github.com/atrbgithub/uilive
2
3
go 1.10
writer.go
@@ -90,11 +90,11 @@ func (w *Writer) Flush() error {
90
lines++
91
currentLine.Reset()
92
} else {
93
- currentLine.Write([]byte{b})
94
- if overFlowHandled && currentLine.Len() > termWidth {
+ if overFlowHandled && currentLine.Len() >= termWidth {
95
96
97
}
+ currentLine.Write([]byte{b})
98
99
100
w.lineCount = lines
@@ -170,4 +170,4 @@ func (n *newline) Write(p []byte) (int, error) {
170
n.writer.mtx.Lock()
171
defer n.writer.mtx.Unlock()
172
return n.writer.buf.Write(p)
173
-}
+}
0 commit comments