Fixed issue with not displaying the text pasted when reading via stdin.