We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2763841 commit e2adc1eCopy full SHA for e2adc1e
output.go
@@ -115,10 +115,12 @@ func (t *Terminal) handleOutput(buf []byte) []byte {
115
break
116
}
117
if r == utf8.RuneError && size == 1 { // not UTF-8
118
- if t.debug {
119
- log.Println("Invalid UTF-8", buf[0])
+ if !t.state.printing {
+ if t.debug {
120
+ log.Println("Invalid UTF-8", buf[0])
121
+ }
122
+ continue
123
- continue
124
125
126
if t.state.printing {
0 commit comments