Check result of Write
Yasuhiro Matsumoto
2 years ago
1 changed file(s) with
4 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+4
-1
noncolorable.go
less
more
26
26
}
27
27
if c1 != 0x1b {
28
28
bw[0] = c1
29
w.out.Write(bw[:])
29
_, err = w.out.Write(bw[:])
30
if err != nil {
31
break loop
32
}
30
33
continue
31
34
}
32
35
c2, err := er.ReadByte()