(p []byte)
| 495 | } |
| 496 | |
| 497 | func (w termWriter) Write(p []byte) (n int, err error) { |
| 498 | r := bytes.Replace(p, []byte("\n"), []byte("\n\r"), -1) |
| 499 | w.f.Invoke(string(r)) |
| 500 | return len(p), nil |
| 501 | } |
| 502 | |
| 503 | type jsConsoleWriter struct{} |
| 504 |
no outgoing calls
no test coverage detected