Merge pull request #63 from naoyukis/delete_buf delete buf
mattn authored
2 years ago
GitHub committed
2 years ago
1 changed file(s) with
0 addition(s)
and
2 deletion(s)
.
Raw diff
Collapse all
Expand all
+0
-2
noncolorable.go
less
more
41
41
continue
42
42
}
43
43
44
var buf bytes.Buffer
45
44
for {
46
45
c, err := er.ReadByte()
47
46
if err != nil {
50
49
if ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '@' {
51
50
break
52
51
}
53
buf.Write([]byte(string(c)))
54
52
}
55
53
}
56
54