cloverstd / tcping

ping over a tcp connection
MIT License
803 stars 163 forks source link

Colored output for errors connecting #36

Open sidecut opened 1 year ago

sidecut commented 1 year ago

For unreliable connections, it's useful to be able to tell at a glance that a connection is down or not.

This PR colors the output red when there's an error connecting. It only affects TTY output, so redirects to a file are not affected.