console: send \r on Enter key pressed for PTY based processes (GO-9805)