fixes #21 - only add pipe after hint if at EOL